Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Feb 2007
    Posts
    12
    Plugin Contributions
    0

    Default Help installing template

    I am trying to setup my Zen Cart with the gloss_black tempalte. I FTPed the gloss_black folder in to /includes/templates, and then browsed to the shopping cart. Instead of finding a functinal template, I found:

    Warning: main(includes/modules/FILENAME_CATEGORIES_TABS.php) [function.main]: failed to open stream: No such file or directory in /home/.../public_html/shop/includes/templates/template_default/templates/tpl_modules_categories_tabs.php on line 14
    I think this is implying that in order to get a template installed, I need to work with the template_default directory somehow. Is that correct? Or, what can I do differently to get this installed?

    I tried using the FAQ section, but haven't had any luck.

    Thanks in advance

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

    Default Re: Help installing template

    Very simple. Go into your admin and look under tools->template selection. If you FTPed the template to your site correctly, you'll see it listed in the pull down menu. Just select it from there and you should be good to go.

    If you still get errors, you may have to upload some of the files to your site again. Some of them may be missing or corrupted.
    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

  3. #3
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Help installing template

    You might have to make sure that you are using the correct version,
    you are missing a define file name

    try upgrading your
    includes/filenames.php
    Zen cart PCI compliant Hosting

  4. #4
    Join Date
    Feb 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: Help installing template

    Thank you for your reply.

    Unfortunatley, I have already used the admin template section utility to select the template, which is how I discovered that the template did not work.

    Here is what I did...

    I uploaded the gloss_black directory to

    / public_html / shop / includes / templates / gloss_black /

    Here is what my gloss_black directory looks like:

    /buttons
    /common
    /css
    /images
    ReadMe.txt
    tempalte_info.php

    Am I missing any files or folders? If so, do I just copy those folder over from another directory, such as the Classic Template or template_default?

    I've been trying to work through the various descriptions of adding custom files to work with the Override System, but they are unfortunately not very simple to find, or clear in their descriptions, since most everything says, "Before you read this, read this <link>." Then, I go there and I get the same thing, "Before you read this, read this <link>." Before long, I've found myself knee-deep in stuff I have to work out, just to get a template installed.

    Also, I am using the most recent version of Zen Cart, since I jsut downloaded it last night, so should I have to update individual files, as Merlinpa1969 suggested?

    Maybe I'm just making it harder than it has to be.
    Last edited by campbelt; 23 Feb 2007 at 08:05 PM.

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

    Default Re: Help installing template

    I think you are making it harder than it has to be. Check what's in the includes/templates/template_default/templates/ directory. It should be chock full of stuff. If not, try FTPing that directory to your site again. There may have been errors during the original FTP.
    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

  6. #6
    Join Date
    Feb 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: Help installing template

    That directory is full of stuff.

    I suppose I must be misunderstanding something here...

    I am trying NOT to use the default template (classic or template_default), and am instead try to use a custom template downloaded from the zen cart download section.

    Is using one of those templates not as simple as FTPing it to the right directory, and then selecting the new template in the admin control panel?

    If there are more steps to it than that, what are those steps?

    Originally, I uploaded the new templates to my directory
    / public_html / shop / includes / templates /

    Is that not the right place to put it?

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

    Default Re: Help installing template

    There should be instructions included with the template download about where the files should go. Most ZC related downloads I've seen/used have the correct structure built in, so you just upload the folders/files to the corresponding place on your ZC installation.

    Yes, using a different template is as easy as selecting it from the pulldown menu in the admin.
    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

  8. #8
    Join Date
    Feb 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: Help installing template

    Afo,

    Thank you for your help so far :)

    I'm sorry I got frustrated.

    I was having issues with the whole Override system becuase I was trying to just dive in without understanding it and was hoping there was a quick-steps, 1-2-3, list I could follow in order to get things worked out. Finally, I realized that no such list exists, so I just broke down and settled in to reading various FAQ articles and posts in depth until I understood it all.

    Once I had all of the overrides setup, I set the template in the admin panel and opened it up again. When I opened up the template, I saw a bunch of errors referring to included and required .php files not being found. So, I just went through each file that was listed in the errors one by one and corrected each include and require until I got all of the errors to go away! :)

    So, now the template is installed and the initial errors I received are all taken care of. Thank you for your help and patience.

    I do, however, have a new problem to work on...

    When I try to create a dummy login account for my new shopping cart, I just get a blank background image and a notice in the Windows status bar that there was an error on the page. Could this be a JavaScript error?

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

    Default Re: Help installing template

    We all get frustrated when we're starting out.

    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/images/logo.gif
    includes/templates/YOUR_TEMPLATE/css/stylesheet.css

    Any where 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 or the /template_default/ folder.

    I'm not sure about the problem you're having, but it does sound like a javascript error from your description. Is there an emblem next to the error message? If so, you should be able to click on the emblem and get more info.
    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

  10. #10
    Join Date
    Feb 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: Help installing template

    Thanks afo,

    I discovered that the login error is indeed a JavaScript issue. So, since I have now moved beyond needing help with the Override system (for now anyway :) ) I have reposted this new issue at the following location:

    http://www.zen-cart.com/forum/showth...837#post333837

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. I need help on installing template
    By irichard in forum Installing on a Linux/Unix Server
    Replies: 12
    Last Post: 18 Jul 2016, 06:10 PM
  2. Help w/ installing Bookshelf template
    By ScottDB in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 Jul 2011, 09:51 PM
  3. HELP Installing template?
    By fourth_87 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 11 Jun 2009, 01:43 PM
  4. need help installing a template
    By DeeTwo in forum Basic Configuration
    Replies: 7
    Last Post: 19 Apr 2007, 02:12 AM

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