Results 1 to 10 of 12

Hybrid View

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

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

    Default Re: Template Questions

    Quote Originally Posted by Website Rob View Post
    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.
    Damnit!!

    Thanks for the info, looks like it's back to square one......

    So where did you find that tidbit?

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

    Default Re: Template Questions

    So why would it be on the Template switcher for v1.3.9
    http://(sorry, site offline)/1-3-9d/...e_dir=darkness

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

    Default Re: Template Questions

    Do you know something about the Darkness template that makes it unsafe or nonfunctional on v1.3.9? That would be good information to share, if so.
    A template can be good for later ZC versions if its files are not modified in the later core, and this one apparently has only two relevant PHP files, tpl_header and tpl_footer.

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

    Default Re: Template Questions

    Let's start with the download page for the Darkness template on the zencart site;

    Darkness Template - Nov 12 2006 - v1.3.6

    Upon seeing the date and Zen Cart version it was designed for, would any experienced Zen Cart coder use such a template or advise using it? I would think not.

    Seems we always advise people to use templates that were designed for the version of Zen Cart being used, or close to that version... and with good reason. Even though it is true that in this case, the two files to consider are; common - tpl_footer.php & tpl_header.php, which have not changed in their coding between 1.3.6 and 1.3.9h, does not negate the previous statement.


    Something else to consider is the mention of no Readme file. Not a big deal to an experienced coder but for someone new would create all kinds of confusion and frustration. Then there are the missing overrides which is debatable but IMHO are necessary for any template properly using the overrides system.

    includes/languages/YOUR_TEMPLATE/
    english.php

    includes/languages/english/YOUR_TEMPLATE/
    header.php
    meta_tags.php

    includes/languages/english/html_includes/YOUR_TEMPLATE/
    - the 12 files from the classic dir.


    Is there a "security problem" using the Darkness template? No, that is more dependent upon the ZC version being used. But I would not recommend the current version of this template to anyone using Zen Cart; new or otherwise.

  6. #6
    Join Date
    Apr 2006
    Location
    Homebase: Spokane, WA
    Posts
    103
    Plugin Contributions
    0

    Default Re: Template Questions

    Well, I have looked on here and have not been able to find an answer, and templates seems to be as good as anywhere..... I hope! If wrong thread, please advise. Here is my issue:

    Recently upgraded to ZC 1.3.9h and after some bumps in the road I have it up and running, though have found an issue with one (sure there will be more) formatting change from my old 1.2.7 version. When a customer comes to the site and clicks on say, Hats link, the majority of the hats have attribs for color and style, they select the color and style, then add to cart and all is good! Well, in the new ZC the dropdown for the attribs are much lower and I have had 2 people call and ask if they can order in green as all they see it balck, which if they scroll down they would see the options. Rambling now.. If someone can clue me in on what I would need to do to move the dropdowns up or some other more visible it would be appreciated.

    The site is http://www.hatnpatch.com

    and still a work in progress.

    Thanks!
    Rod

    Visit my Zen Site: Hat n' Patch

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

    Default Re: Template Questions

    So there is nothing actually wrong in what the template includes; it just doesn't include a number of files and folders you consider that a template should include, and that will eventually be needed by anyone creating/using a custom template (not to mention the lack of a readme).

    This thread was for questions about one specific template, and should not become a catchall for random questions.

    Search for attributes and product info page layout to find info, or start a new thread.
    Last edited by gjh42; 18 Feb 2011 at 10:16 PM.

 

 

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