Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2009
    Posts
    58
    Plugin Contributions
    0

    Default Creating your own template???

    Afo said in an earlier post:
    >
    "First of all, you shouldn't be changing anything in the classic folders. You should be creating your own template by copying the files you want to modify to a folder you create and making your changes there."
    >
    I cant figure out how to do this (I mean how to make my own template). Do I create a new template and then go to "ADMIN- Template selection?).
    Can somebodt explain to me a little more how this works and how to do it?
    Thanks
    DEAN

  2. #2
    Join Date
    May 2008
    Posts
    250
    Plugin Contributions
    1

    Default Re: Creating your own template???

    Here is the link to the tutorial for creating your own new template:

    https://www.zen-cart.com/tutorials/i...hp?article=142

    It is really simple and well worth going through the steps to get to know how the template override system works.

    If you need any further help, just call out.

  3. #3
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Creating your own template???

    Basically, what you want to do is copy the file you want to modify into a folder you create. All the folders you create for your template should have the same name.

    To create a very basic custom template (you can build from there), you need:
    • includes/languages/YOUR_TEMPLATE/english.php
    • includes/languages/english/YOUR_TEMPLATE/index.php
    • includes/languages/english/YOUR_TEMPLATE/meta_tags.php
    • includes/languages/english/YOUR_TEMPLATE/header.php (to change the logo)
    • includes/templates/YOUR_TEMPLATE/template_info.php
    • includes/templates/YOUR_TEMPLATE/common/tpl_header.php <- may not be necessary
    • includes/templates/YOUR_TEMPLATE/common/tpl_footer.php <- may not be necessary
    • includes/templates/YOUR_TEMPLATE/images/logo.gif
    • includes/templates/YOUR_TEMPLATE/css/stylesheet.css


    Anywhere you see a /classic/ folder, you can create a folder for your custom template. You can copy the necessary files from either the /classic/ folder, the /template_default/ folder or the parent folder.

    Edit includes/templates/YOUR_TEMPLATE/template_info.php to give your template identifying information so you'll recognize it in the admin under tools->template selection.

    Alternately, you can get a free template and use it as a starting point. You can see them in action at http://(sorry, site offline)/.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

 

 

Similar Threads

  1. Creating your own template - HELP
    By nxsteven in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 16 Feb 2010, 05:17 PM
  2. Creating your own pages
    By evil turinp in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 3 Aug 2009, 08:17 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