Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Override Includes vs. Control Panel

    I am puzzled by the way overrides work with/against the text added from the admin control panel.

    e.g. define_main_page.php

    the path for this is:

    includes/languages/english/html_includes/define_new_page.php

    I have a override for this file whose path is:

    includes/languages/english/MYNAME/html_includes/define_new_page.php.

    Evidently, this does not work the way i thought it would. The non-override file is used. Files that are in includes/languages/MYNAME/ work the way I expect.

    Do I need to use a includes/english/html_includes/MYNAME/
    format? If so how do I know which to use?

    In the case of the css file Zen Cart searches two directories down from the MYNAME folder to find the css file.

    Don't understand, but am sure I will soon.

    Thanks guys
    Nick

  2. #2
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Override Includes vs. Control Panel

    the correct path for your override is:
    includes/languages/english/html_includes/MYNAME/define_new_page.php
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Override Includes vs. Control Panel

    Remember, the easy way to locate your custom template folders is to put one anywhere you see a 'Classic' folder, at the same level.

 

 

Similar Threads

  1. locked out of Control Panel
    By irishshopper in forum Basic Configuration
    Replies: 10
    Last Post: 2 May 2011, 05:32 PM
  2. Control Panel navigation missing
    By kuzikkm in forum General Questions
    Replies: 2
    Last Post: 6 Nov 2010, 05:18 PM
  3. Admin Control Panel or CSS?
    By jaggers in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 16 Nov 2007, 06:33 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