Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2012
    Posts
    49
    Plugin Contributions
    0

    Default Which Template files?

    Does ZC use templates/classic or templates/templates_default? or both? I guess what i am also saying is what is the name of my template?
    Last edited by webmeister; 13 Nov 2012 at 05:33 PM.

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

    Default Re: Which Template files does zen cart use

    When you initially install your Zen Cart, the selected template is "classic" and can be changed via your admin's Tools->Template Selection. Let's play with your contact_us page and pretend that your selected template is named YOUR_TEMPLATE and your customer's language is english.

    The language files associated with that page is named contact_us.php and is present in one of the language directories. If the file is found in the /includes/languages/english/YOUR_TEMPLATE/ directory ... that's the one that is used. Otherwise, it's "assumed" to be present in the /includes/languages/english/ directory (since it was during the install).

    Ditto with the page template file (tpl_contact_us_default.php). If that file is present in /includes/templates/YOUR_TEMPLATE/templates/ it's used; otherwise, the file present in /includes/templates/template_default/templates/ is used.

    Essentially, the files in the YOUR_TEMPLATE directories "override" the like-named files that are part of the default Zen Cart distribution. If there's no YOUR_TEMPLATE file, then the default version of the file is used.

    I think that there's a FAQ on this ...

  3. #3
    Join Date
    Oct 2012
    Posts
    49
    Plugin Contributions
    0

    Default Re: Which Template files does zen cart use

    Thanks, just double checking. I have not made a custom template & cannot get Big Chooser to show up in order Total Module although the files appear to be in the right places...any suggestions?

 

 

Similar Threads

  1. Replies: 1
    Last Post: 29 Apr 2013, 05:40 PM
  2. Which Template Files Control Which Pages?
    By 1105designs in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 8 Aug 2011, 04:10 PM
  3. FTP template files to which folder
    By davisz in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 25 Jan 2011, 05:58 PM
  4. Which files to edit?
    By rewt in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 30 Sep 2009, 07:51 PM
  5. which files to change?
    By chufty bill in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 12 Sep 2006, 10:17 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