Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2013
    Location
    Allen, TX
    Posts
    34
    Plugin Contributions
    0

    Default overriding extra_datafiles file deifnintions

    I wanted to modify a file definition by creating an override. I added the new filenames.php with the new definition for product_listing.php in the extra_datafiles folder. However, the new file definition is only read if I comment out the original file definition in the includes/filenames.php file. How do I make it so that the extra_datafiles definitions will override the other definitions so that I do not have to modify the original filenames.php file to change a definition?

    Blessings,
    Tiffany

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: overriding extra_datafiles file deifnintions

    Put the override change into the /extra_configures folder. That folder is loaded prior to the auto_load items which is where the /includes/filenames.php file is loaded.

  3. #3
    Join Date
    Apr 2013
    Location
    Allen, TX
    Posts
    34
    Plugin Contributions
    0

    Default Re: overriding extra_datafiles file deifnintions

    Bless you! That totally worked.

 

 

Similar Threads

  1. Replies: 5
    Last Post: 1 Jul 2012, 11:27 PM
  2. my file in extra_datafiles is not loaded automatically
    By fwso in forum General Questions
    Replies: 1
    Last Post: 12 Nov 2009, 06:52 PM
  3. extra_datafiles VS extra_definitions
    By yellow1912 in forum Contribution-Writing Guidelines
    Replies: 2
    Last Post: 17 Aug 2007, 03:19 AM
  4. Overriding header.php file
    By GaryNick in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 21 Nov 2006, 02:16 AM
  5. extra_datafiles
    By Creaware in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 3 Jul 2006, 04:23 AM

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