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

    Default Custom Template Doesn't Appear in Tools : Template Selection

    I've read the tutorials on setting up template overrides, and they all seem to say the same thing, which is a good sign. But when I follow the steps, I get to the part where you click on Admin : Tools : Template Selection : Edit, and my custom theme doesn't appear in the dropdown list along with "Custom Contemporary Green". I'm running a fresh install of ZC 1.3.6 on PHP 4.4.4 / MySQL 4.0.27.

    My custom theme directories are all called "pci".

    1) I made a new template directory at includes/templates/pci and made sure it has the same permissions as the existing directories (755).
    2) I made the sub-directories common, css, images, sideboxes, and templates, and made sure that they also had 755 perms.
    3) I copied stylesheet.css from template default to includes/templates/pci/
    4) I copied template_info.php to my custom template directory, and made sure it had 755 permissions.

    So, my custom template directory structure looks like this:



    I have carefully edited the template_info.php file, making sure that it has the right permissions, that it's in the correct location, and that I didn't do something stupid like use an apostrophe in the description inside the single quotes. It all checks out. In fact, here is the file's contents:


    Code:
    <?php
    $template_name = 'pci';
    $template_version = 'Version 1.0';
    $template_author = 'frogtaco';
    $template_description = 'PCI custom ZenCart template.';
    $template_screenshot = '';
    ?>
    As far as I can tell, it's all good. But when I go to Admin : Tools : Template Selection and click Edit, my new template doesn't appear in the dropdown box.

    Can someone see what I'm doing wrong? I can't figure it out.

    Thanks!
    -Evan

  2. #2
    Join Date
    Nov 2006
    Location
    Caracas
    Posts
    114
    Plugin Contributions
    0

    Default Re: Custom Template Doesn't Appear in Tools : Template Selection

    everithing look fine.

    I got the same error because my DIR_FS_CATALOG_TEMPLATES in the
    configure.php was wrong another thing I remember zen only look for the template_info.php in the tamplates directories the other info is extra.

  3. #3
    Join Date
    Nov 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: Custom Template Doesn't Appear in Tools : Template Selection

    I figured it out.

    Apparently the www alias doesn't point to the same place as the actual /html/ directory. Now that I've copied my new template structure to the actual Web root, guess what? It works.

    Just goes to show, it doesn't matter how careful you are if you're working in the wrong place.


    Thanks for your response, jgamio--because of that I dug around a bit and found my mistake.

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

    Default Re: Custom Template Doesn't Appear in Tools : Template Selection

    Thanks for the update that this was more a server setup issue than anything wrong with Zen Cart ...
    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!

 

 

Similar Threads

  1. Can't seem to get template on the admin/tools/template selection
    By avmejias in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 19 Aug 2012, 07:39 AM
  2. Template selection page not viewable after uploading custom template
    By mek113 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 28 Apr 2011, 05:16 PM
  3. New Template Not Appearing in Tools->Template Selection
    By hungoveragain in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Aug 2009, 10:51 AM
  4. Custom template not showing in admin Template Selection
    By erinl in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Aug 2008, 07:51 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