Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2006
    Posts
    115
    Plugin Contributions
    0

    Default How to override files under pages

    Is anyone know how to override files under include/modules/pages/specials

    Thanks
    ERIC

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: How to override files under pages

    Exactly what do you want to do?

  3. #3
    Join Date
    Jan 2006
    Posts
    115
    Plugin Contributions
    0

    Default Re: How to override files under pages

    Quote Originally Posted by Kim
    Exactly what do you want to do?
    I'd like to edit main_template_vars.php to dispaly specials using different template.

    Thanks

  4. #4
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: How to override files under pages

    The template for the Specials is called from tpl_modules_specials_default.php for the centerbox or tpl_specials_default for the listing page. You can override either of these without touching the main_template_vars.

  5. #5
    Join Date
    Jan 2006
    Posts
    115
    Plugin Contributions
    0

    Default Re: How to override files under pages

    Quote Originally Posted by Kim
    The template for the Specials is called from tpl_modules_specials_default.php for the centerbox or tpl_specials_default for the listing page. You can override either of these without touching the main_template_vars.
    Thanks for your reply.
    Acturally, I already made changes on tpl_modules_specials_default.php and specials_index.php. if I can override, then I don't have to made same changes again in tpl_specials_default.php.

  6. #6
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: How to override files under pages

    Sorry- the pages directory is not overridable.

 

 

Similar Threads

  1. v139h how to repelace files under modules?
    By linjuming in forum General Questions
    Replies: 2
    Last Post: 1 Jun 2012, 06:31 AM
  2. v150 how to override a files?
    By oitem in forum Basic Configuration
    Replies: 1
    Last Post: 28 Apr 2012, 02:13 AM
  3. Override vs Overwrite for modules/pages files
    By Treadle in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 19 Jul 2011, 05:21 PM
  4. is is true that can't override the pages under modules?
    By Cindy2010 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 1 Mar 2011, 07:20 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR