Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Posts
    157
    Plugin Contributions
    0

    Default Override Directory for /includes Root ?

    Short question. I am about to modify some files to verify correct email addresses.

    What is the correct path to use for an override directory to the /includes root directory?

    Specifically, the file that I am going to modify is /includes/form_check.js.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Override Directory for /includes Root

    The override convention is "where ever there exists a "classic" dir, the files at that level can be overridden"

    So as there is no "classic" dir at the /includes level, those files will not respect the override system and are not overrideable.

    So you will have to edit the core file in this instance. I normally rename any core file that is to be altered and in your case this would be form_check.js.php to form_check.js.orig. I also include in every edited file in the commented area at the top a tag that can be grepped for later when one needs to find files altered and in my case I include the term "kobra" as it is unique. This is mainly to locate altered files quickly when and if an upgrade is to be performed.
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. .htaccess file for root directory needed
    By samar777 in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 28 Jul 2010, 03:13 AM
  2. Override for /includes/classes folder?
    By chadderuski in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 10 May 2010, 07:09 PM
  3. Override for includes/modules/pages?
    By dbrewster in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 27 Jan 2007, 04:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg