Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Which Template Files Control Which Pages?

    All I can advise at this point is to follow the php trail through the files. One thing that may help... Zen Cart uses a different list style for different lists. There is a mod which "corrects" that so that all such lists are the same. It's called Single Listing Template. Even if you don't want to use it, looking at the files it mods to make this work should help lead you to the file you're looking for.

    Rob

  2. #2
    Join Date
    Apr 2011
    Posts
    22
    Plugin Contributions
    0

    Default Re: Which Template Files Control Which Pages?

    Quote Originally Posted by rstevenson View Post
    All I can advise at this point is to follow the php trail through the files. One thing that may help... Zen Cart uses a different list style for different lists. There is a mod which "corrects" that so that all such lists are the same. It's called Single Listing Template. Even if you don't want to use it, looking at the files it mods to make this work should help lead you to the file you're looking for.

    Rob
    How would I begin such a search on a php trail? Does no one know the tpl that edits the product listing layouts?

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: Which Template Files Control Which Pages?

    For the most part (the index pages are "different"), if the url for a Zen Cart page is yourshop.com/index.php?main_page=something then the main customization for that page happens in two places:

    1) /includes/modules/pages/something/header_php.php
    2) /includes/templates/YOUR_TEMPLATE/templates/tpl_something_default.php

    The "index" pages are a bit different:

    1) /includes/templates/YOUR_TEMPLATE/templates/tpl_index_default.php controls the look of the main/home page
    2) /includes/templates/YOUR_TEMPLATE/templates/tpl_index_categories.php controls the look of a categories' listing page (the page you've asked about).
    3) /includes/templates/YOUR_TEMPLATE/templates/tpl_index_prod_list.php controls the look of a category-specific product listing page.

  4. #4
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Which Template Files Control Which Pages?

    Or look at the code and find the name of the divs, then enter them into the admin/tools/developers toolkit to find that phrase in any of the files - this might show you where they are.

 

 

Similar Threads

  1. Which Template files?
    By webmeister in forum General Questions
    Replies: 2
    Last Post: 13 Nov 2012, 06:04 PM
  2. FTP template files to which folder
    By davisz in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 25 Jan 2011, 05:58 PM
  3. Emergency, which files control category display
    By nonfinite in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 27 Nov 2009, 04:17 AM
  4. Replies: 4
    Last Post: 14 Feb 2007, 01:16 AM
  5. Replies: 2
    Last Post: 6 Feb 2007, 04:01 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