Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    May 2010
    Location
    Denver CO USA
    Posts
    30
    Plugin Contributions
    0

    Default default template cloning

    Good day to all,

    I currently have a clean non customized install of ZC 1.3.9c
    HTTP Server: Apache/2.2.15 (CentOS)
    In researching this installation I wanted to use a template supported by ZC, it apperars that due to the newness of 1.3.9.c that most templates have either not been configured or updated to use ZC 1.3.9c. I have come to the conclusion that I am better off just using the base and reworking it to my specific needs.

    My questions lies around the search fro clear instructions on cloning the Classic Contemporary Green. I would like the exact same option capabilities and setting options that are embedded in the default template - Classic Contemporary Green

    What specific files would I need to copy into my CUSTOM folder to accomplish this?

    I just want a mirror copy of the default Classic Contemporary Green template that I can customize. I have tried copying into my CUSTOM folder just the items that I was instructed to in the How to create a new CUSTOM template, and reset boxes, in Admin etc.

    It will load but not a exact copy of the Classic Contemporary Green template.

    skaterchoicecolorado.com

    Thanks in advance
    The OLD guy

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: 1.3.9c default template cloning

    Yes... you are right when you say an existing (older) template may not be compatible with zc 1.3.9c ...

    Upgrading templates is not usually that difficult because most consist only of TPL and LANGUAGE files (with a few having some module files too).

    However... to your question.

    This is what I would do...

    On your LOCAL MACHINE...

    Open up a fresh copy of zencart 1.3.9c

    navigate to:

    includes/templates/classic/template_info.php , and open it for editing in a plain text editor:

    You will see:

    PHP Code:
    <?php
    /**
     * Template Information File
     *
     * @package templateSystem
     * @copyright Copyright 2003-2006 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: template_info.php 4226 2006-08-24 02:23:25Z drbyte $
     */
    $template_name 'Classic Contemporary Green';
    $template_version 'Version 1.3.5';
    $template_author 'Zen Cart Team (c) 2006';
    $template_description 'This template set is designed to be easily modified using only the style sheet to change colors, fonts, and the store logo. Three images are required; logo.jpg, header_bg.jpg, and tile_back.gif.';
    $template_screenshot 'scr_template_default.jpg';
    ?>
    Change it thus:

    PHP Code:
    <?php
    /**
     * Template Information File
     *
     * @package templateSystem
     * @copyright Copyright 2003-2006 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: template_info.php 4226 2006-08-24 02:23:25Z drbyte $
     */
    $template_name 'My Template';
    $template_version 'Version 1.3.9';
    $template_author 'My name - 2010';
    $template_description 'This is my new template';
    $template_screenshot '';
    ?>
    SAVE it

    Then, go through ALL the folders, SUB-folders and even the SUB-SUB-folders in:
    templates
    languages
    modules


    ... and wherever you see a folder called "classic"...

    ... change that folder's name to my_template

    You now have your exact clone of classic (called my_template) which you can FTP to your server.

    So you just ftp all those my_template folders and the new template_info.php file to their respective forlders and sub/folders
    20 years a Zencart User

  3. #3
    Join Date
    May 2010
    Location
    Denver CO USA
    Posts
    30
    Plugin Contributions
    0

    Default Re: default template cloning

    Schoolboy

    Thank you very much, I will implement and share with you and forum.

    I appreciate the help, I hope to return the favor in the future.

    The OLD guy

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: default template cloning

    remember that when you "invoke" that template, you will see an IDENTICAL screen as you would, had you invoked CLASSIC...

    One of the first things I do is create a new header image... so at least I know what template is actually active!
    20 years a Zencart User

  5. #5
    Join Date
    May 2010
    Location
    Denver CO USA
    Posts
    30
    Plugin Contributions
    0

    Default Re: default template cloning

    OK, rechecked all changes twice, uploaded via fillazilla, was able to login to admin, able to see all option, when I went to Tools, template selection - I had the following:

    Windows error page come up. in URL bar: https://www.skaterschoicecolorado.co...ate_select.php

    The website cannot display the page
    HTTP 500
    Most likely causes:
    The website is under maintenance.
    The website has a programming error.
    What you can try:
    Refresh the page.
    Go back to the previous page.
    More information
    This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.
    For more information about HTTP errors, see Help.

    www.skaterschoicecolorado.com

  6. #6
    Join Date
    May 2010
    Location
    Denver CO USA
    Posts
    30
    Plugin Contributions
    0

    Default Re: default template cloning

    Update:

    Uninstalled changes, went back to known good includes files ,went into admin reset from test clone, reset back to original contemporary green reset boxes, system admin login worked, site was up with classic contemporary green. Also I am keeping close eye on permissions.

    obviously I missed something in the new changes, I will review all changes and start from scratch again and provide update.

 

 

Similar Threads

  1. v151 Title tag on my template pages missing - cannot switch to default template
    By mrcastle in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Aug 2014, 12:00 AM
  2. Mix Cherry Zen Template with Default template
    By Globie in forum General Questions
    Replies: 1
    Last Post: 31 Oct 2008, 08:21 PM
  3. default template not showing up on template selection screen
    By vintagetwitch in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 3 Aug 2008, 08:17 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
  5. Default Template
    By IncrediBody in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Jun 2006, 05:45 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