Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Apr 2007
    Posts
    38
    Plugin Contributions
    0

    Default can't select custom template

    Hi

    In the admin tools template selection, my custom template is not in the dropdown box.

    Here's what I have done, per instructions of copying files from template_default to my new directory

    Created Folders:

    common (and files)
    css (and files)
    images (and files plus icons folder and contents)
    templates

    I copied in the template_info.php at the same level as the folders, and changed the name in the code.

    Any thoughts?

    Andy

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: can't select custom template

    Please post the lines of code from your template_info.php
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Apr 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: can't select custom template

    Thanks for the reply Kim!

    <?php
    /**
    * Template Information File
    *
    * @package templateSystem
    * @copyright Copyright 2003-2005 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 2306 2005-11-05 21:34:28Z wilt $
    */
    $template_name = 'Ounces Template';
    $template_version = 'Version 1.0';
    $template_author = 'Zen Cart Team (c) 2003';
    $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.jpg.';
    $template_screenshot = 'scr_template_default.jpg';
    ?>

  4. #4
    Join Date
    Apr 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: can't select custom template

    Does anyone have any thoughts as to what I have missed?

    Thanks!

  5. #5
    Join Date
    Apr 2007
    Posts
    38
    Plugin Contributions
    0

    Default custom template not being recognized

    Hi

    In the admin tools template selection, my custom template is not in the dropdown box.

    Here's what I have done, per instructions of copying files from template_default to my new directory.

    Created Folders:

    common (and files)
    css (and files)
    images (and files plus icons folder and contents)
    templates

    I copied in the template_info.php at the same level as the folders, and changed the name in the code.

    You help is much apprectiated. code from template_info.php below

    ----------------------------------
    <?php
    /**
    * Template Information File
    *
    * @package templateSystem
    * @copyright Copyright 2003-2005 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 2306 2005-11-05 21:34:28Z wilt $
    */
    $template_name = 'Ounces Template';
    $template_version = 'Version 1.0';
    $template_author = 'Zen Cart Team (c) 2003';
    $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.jpg.';
    $template_screenshot = 'scr_template_default.jpg';
    ?>

  6. #6
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: can't select custom template

    Please do not start new threads when you don't get an immediate answer to your problem. We are all volunteers and sometimes it takes some time.

    What are the chmod permissions on your custom template directory? What are you calling your custom template?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  7. #7
    Join Date
    Apr 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: can't select custom template

    Hi Kim,

    CHMOD permissions on the "template_ounces" directory are:

    755
    owner: read, write, execute
    group: read,execute
    world: read, execute

    Thanks for helping me.

  8. #8
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: can't select custom template

    Where in the directory structure have you placed your template_ounces directory?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  9. #9
    Join Date
    Apr 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: can't select custom template

    placed in:

    /var/www/html/...store name.../includes/templates/template_ounces

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

    Default Re: can't select custom template

    Your custom template folders should look something like the following (you might have more or less folders/files... or slightly different ones... don't worry about that):

    • 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


    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.
    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

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Can't select new template - isn't in the list
    By heloparis in forum Upgrading to 1.5.x
    Replies: 1
    Last Post: 2 Jan 2012, 12:59 PM
  2. Replies: 3
    Last Post: 30 Jun 2011, 04:41 PM
  3. Can't select template in admin after upgrading
    By KarlH in forum Upgrading from 1.3.x to 1.3.9
    Replies: 0
    Last Post: 14 Nov 2010, 11:25 PM
  4. Why can't I see my new template in the Admin Template-Select list?
    By cthatche in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Apr 2009, 05:50 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