Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Changing Classic Template

    Create your own templates and overrides first ... then change it all to anything you like ...

    You do not want to use the Classic Template or change it or any other files without using the overrides ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

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

    Default Re: Changing Classic Template

    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/header.php (to change the logo)
    • includes/templates/YOUR_TEMPLATE/template_info.php
    • includes/templates/YOUR_TEMPLATE/common/tpl_header.php
    • includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
    • 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.

  3. #3
    Join Date
    May 2007
    Posts
    21
    Plugin Contributions
    0

    Default Re: Changing Classic Template

    Mhnnnn.... Ajeh & afo, I not a computer wizard. I just needed to do something simple by changing one figure. I like both templates but they are vice versa in terms of color and the width. I like the wide width for the Silverfish and the green color for the classic. But I can take the challenge in creating my own. Afo, do I have to copy all the files you've mentioned and how will I know that its a full width and a green color?

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

    Default Re: Changing Classic Template

    You don't have to be a wiz to customize ZC.

    Change the colors in the stylesheet. There are tons of sites with color charts. You'll find one such chart here.

    My list is a pretty basic one. I'd suggest using the Silverfish template files as your starting point and playing around with the colors from there. The best part of using the override system is that if you goof up, you can scrap what you did and start with the original file again.

    If you do your changes in the original (/classic/) files, they'll be overwritten by future upgrades/updates.

  5. #5
    Join Date
    May 2007
    Posts
    21
    Plugin Contributions
    0

    Default Re: Changing Classic Template

    Thank you for your input.

  6. #6
    Join Date
    Dec 2005
    Location
    SWFL
    Posts
    469
    Plugin Contributions
    0

    Default Re: Changing Classic Template

    Colors are all changed in the stylesheet.css file for your custom template.

    To change the width, look for this section of code in the stylesheet.css file:

    Code:
    /*wrappers - page or section containers*/
    #mainWrapper {
    	background-color: #ffffff;
    	text-align: left;
    	width: 750px;
    	vertical-align: top;
    	border: 1px solid #9a9a9a;
    	}
    HOWEVER -- do NOT change your default template code! Make a new template and install it and create the changes there. Otherwise, you will be reinstalling everything after an upgrade.

    The easiest thing to do is copy on your computer every folder that says "classic" and name it whatever you want (no spaces). Then go into the includes/templates/yournewtemplate/template_info.php file and change the information to reflect your new template.

    Upload it all and install it in the admin panel. Now you can configure to your heart's content.

    Another caveat -- the classic template width can be changed. However, I have never played with it doing what you want to do, and you'll have to change the header background graphic to a repeating kind to fill in if you want the same look. So don't be surprised if you have unexpected results when doing this.

    HTH,
    Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!

 

 

Similar Threads

  1. Customizing classic template - changing color theme
    By Old Cow in forum Templates, Stylesheets, Page Layout
    Replies: 17
    Last Post: 12 Sep 2009, 07:54 PM
  2. Copying classic template
    By justincataldo in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 8 Mar 2008, 02:17 PM
  3. Classic Template
    By MattDownUnder in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Apr 2007, 11:13 AM
  4. classic template, default template and custom..
    By zc-newbie in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 13 Aug 2006, 08: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