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,825
    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,825
    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,825
    Plugin Contributions
    0

    Default Re: How to override files under pages

    Sorry- the pages directory is not overridable.

 

 

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
  •