Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Feb 2011
    Posts
    665
    Plugin Contributions
    0

    Default Template Questions

    I looked around for Primer on installing a new template and although there's a lot of info on making custom templates, I didn't see anything regarding installing a template downloaded from zencart.

    Got the .zip file uploaded to my host, extracted and placed in the includes/template/ folder.

    went back to my admin screen and selected the new template...

    Now I get "The website cannot display the page: when I try to look at my site.

    So do I just follow these instructions:
    https://www.zen-cart.com/tutorials/i...hp?article=142

    Or is there another "How To" that I overlooked?

  2. #2
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Template Questions

    Quote Originally Posted by Serious View Post
    Got the .zip file uploaded to my host, extracted and placed in the includes/template/ folder.
    Not sure, may just be a typing error but should have place the files in the /includes/templates folder

    So it should be /includes/templates/CUSTOM_TEMPLATE

    CUSTOM_TEMPLATE is obviously the name of your template

    When you open the CUSTOM_TEMPLATE should have folders & ONLY 1 file named template_info.php

    Hope this helps!

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Template Questions

    Did the template come with a readme file? They are all supposed to. Well-constructed templates will have all of their files correctly organized under an /includes/ folder, so that you only need to copy the /includes/ and its contents into the root of your site. If there is another location to copy into, the instructions should say what it is.

    It would be nice to have a tutorial on installing a template, but unless the third-party templates could be forced to all use the same method, it would not be applicable to some number of them.
    Last edited by gjh42; 18 Feb 2011 at 04:58 AM.

  4. #4
    Join Date
    Feb 2011
    Posts
    665
    Plugin Contributions
    0

    Default Re: Template Questions

    Quote Originally Posted by rbarbour View Post
    Not sure, may just be a typing error but should have place the files in the /includes/templates folder

    So it should be /includes/templates/CUSTOM_TEMPLATE

    CUSTOM_TEMPLATE is obviously the name of your template

    When you open the CUSTOM_TEMPLATE should have folders & ONLY 1 file named template_info.php

    Hope this helps!
    i did leave the S off of templates, sorry for the confusion.

    Not a custom template, rather a downloaded template from this site.

    Not sure it that changes your reply or not.

    Quote Originally Posted by gjh42 View Post
    Did the template come with a readme file? They are all supposed to. Well-constructed templates will have all of their files correctly organized under an /includes/ folder, so that you only need to copy the /includes/ and its contents into the root of your site. If there is another location to copy into, the instructions should say what it is.

    It would be nice to have a tutorial on installing a template, but unless the third-party templates could be forced to all use the same method, it would not be applicable to some number of them.
    No Read-Me file.

    This is what was in the Darkness_Template_1.0 .zip. file

    Includes/Templates/Darkness

    /Darkness contained:
    Common Folder
    Css Folder
    Images Folder
    Copyright (Text file)
    template_info (php)

    Common/
    tpl_footer (php)
    tpl_header (php)

    CSS/
    Print_stylesheet (css)
    stylesheet (css)
    style_css_buttons (css)

    Images/
    header_bg (jpg)
    scr_tmplate_default (jpg)
    tile_back (gif)

    That's it.

    no instructions of any kind.

    I suppose if you've been at this awhile this would be a no brainer.
    Unfortunetly I'm flyin' blind here folks.

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Template Questions

    Well, even if it doesn't come with any instructions, it sounds like it has the full correct folder structure. That means you can, in your FTP, select the local template /includes/ folder and upload it to the folder where all of your Zen Cart files are located (/public_html/ or a subfolder, or whatever). This will drop all of the template files into the right places. Then check to see that you have in your server's original /includes/ folder a /templates/darkness/ folder and a /templates/darkness/template_info.php file.

  6. #6
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Template Questions

    You should not use the Darkness Template. It was designed for ZC v1.3.6 and I sure hope you are using a more recent version.

 

 

Similar Threads

  1. Two template questions!
    By dj_ee3 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 27 Oct 2010, 03:22 AM
  2. Template Questions
    By janissaire in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Jul 2009, 03:00 AM
  3. template questions
    By meknownowt in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Dec 2007, 07:22 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