Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Override for includes/modules/pages?

    And do I understand correctly, 'template_default' is the exception to the rule?

    i.e.
    any file / dir. within the 'template_default' dir. can be copied over, or are we restricted to just 4: common, css, images, templates, and their subsequent files?

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,536
    Plugin Contributions
    127

    Default Re: Override for includes/modules/pages?

    template_default is the baseline. Copy out of here into your own template and start modifying. This directory is overwritten every release, so you don't want to modify files in here.

    Good luck,
    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Override for includes/modules/pages?

    Yes, overrides outside the "templates" folder are 1-level deep.

    http://www.zen-cart.com/index.php?ma...roducts_id=298
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Override for includes/modules/pages?

    Nice chart, DrByte. Thanks for pointing it out. Don't think I would have found it otherwise. Hopefully, the downloads section will one day become searchable.

    The chart indicates that only 3 main directories are worked with for overrides.
    includes - languages, modules, templates

    Although the chart looks like it is/was part of something with more information on overrides, if I know the 3 above dir. are all I need to focus on then it definitely helps to focus on the required areas.

    I find I'm asking a lot of questions on the override setup because I have not yet wrapped my head around its proper usage. Will be doing a CSS Template shortly that I would like to freely offer to others and that should answer a lot of questions as well. Don't know about others but completely understanding how the overrides setup works, is so very important and for many reasons.

 

 

Similar Threads

  1. v151 Override System in re includes/modules/pages/xxxxxx
    By KenBaker in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 23 Oct 2013, 02:09 AM
  2. Override of includes/modules/pages
    By sfatula in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 6 Apr 2010, 05:21 PM
  3. how to override includes > modules > pages > page_folder > header_php.php
    By monkeytown in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Feb 2008, 05:45 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