Results 1 to 4 of 4
  1. #1
    Join Date
    May 2006
    Posts
    7
    Plugin Contributions
    0

    Default Template help please!

    I installed Zen cart earlier today and have set about attempting to customise. I have had a brief browse to find the answers, but some are a little vague!

    Site is located here:

    I have made a few changes to the layout from the tpl files, but need a little help on locations! With so many files with same names etc, it would be too easy to edit files that I should be. (Not really sure why there is a default and classic template. Are they not the same thing?)

    OK, firstly, I would like to remove the "Sales Message Goes Here" item.

    Also the initial "Welcome" on the index page as it seems pointless with the welcome guest message underneath!

    Lastly, are there any good reference tutorials? The only ones I've source are a bit too basic - or just dont cover areas Id like to learn a little more on.

    Any help appreciated.

  2. #2
    Join Date
    May 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: Template help please!

    A little fumbling around and I think I have solved both of the above questions!

    Still need lots of help though!

    The Valid XHTML 1.0 Transitional message below the footer.... any idea where this is located? I'd like to remove that also!

    Another change I would like to make, would be to move the top bar (with login etc), to below the header image. Is it just a case or renaming that nav or more than that (eg the css)?

    Cheers

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Template help please!

    My first advice is to look in the wiki (link at top of page). It is a work in progress, but much good info is in there already. The FAQs are still being reconstructed after an emergency forced migration of the support site, but there is some good current info there.

    The classic and template_default templates are very much not the same thing! Classic is there mostly for backward compatibility with old/upgraded sites, and should not be used for building new sites. Kuroi has just developed a new "ultra lightweight" template based on template_default. See The Stylesheet forum for his post. I haven't looked at it yet, but my guess is it will be a good place for you to start your customization.

    The validator bit can be found at the bottom of tpl_main_page.php.

    The navbar can be relocated by carefully moving the code in tpl_header.php - the section is clearly marked by <!--bof-navigation display--> and <!--eof-navigation display--> comments. Move it to below the branding display section.

  4. #4
    Join Date
    Oct 2005
    Location
    New Mexico
    Posts
    393
    Plugin Contributions
    0

    Default Re: Template help please!

    Not sure what you mean by "a little too basic" but here are some things that might help.

    Zen Cart is built on a system call ‘overrides.’ This means that as new versions and updates of the cart arrive your custom template that you have worked so hard on will not be lost and will ‘override’ the stock template.

    These thread will help you learn not only which files to edit but how to arrange them in the proper folders so the override will work. Read, comprehend and apply these threads and you will be blessed by the Zen Cart wonder.

    The Wiki is a great place to start. However, since the forum experienced an emergency reload, many links have not been updated. Be patient.

    http://www.zen-cart.com/wiki/index.p..._-_Customizing
    http://www.zen-cart.com/wiki/index.p...on_-_Templates
    http://www.zen-cart.com/wiki/index.p..._API_Overrides
    http://www.zen-cart.com/wiki/index.php/Basic_Checklist

    This thread is from the previous forum but has great info.

    http://www.zen-cart.com/forum/showthread.php?t=7263

    Good Luck!

 

 

Similar Threads

  1. v151 Template help Please
    By Steve Harris in forum Basic Configuration
    Replies: 3
    Last Post: 18 Oct 2014, 08:41 PM
  2. Template Coding / CSS template location help please?
    By ttac in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 Jun 2010, 06:37 AM
  3. template help please!!!!
    By sifuhall in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Jun 2008, 02:28 PM
  4. Please help me!!!(template)
    By maxer in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Sep 2007, 11:59 AM
  5. Help About New Template Install Please Help
    By mboley370 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 25 Jun 2007, 06:52 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