Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jul 2006
    Location
    Louisiana
    Posts
    144
    Plugin Contributions
    0

    Default How many Templates can I have?

    I am running Zen-Cart 1.3.9c

    Is there a limit to the number of templates that can be listed under Includes/templates? Root/store/admin/template_select.php hangs.

    I added several templates to see what they looked like. Now in the ZenCart\Admin, under <Tools>, <Template Selection> the software hangs on a white screen. I can not see the templates listed and can not select or change a template.

    This is on a test site so I can strip it all out and start over but, did I inadvertently change something else and need to go looking for it or is there a limit to the number of templates?

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: How many Templates can I have

    What templates are these, and where did you get them?
    20 years a Zencart User

  3. #3
    Join Date
    Jul 2006
    Location
    Louisiana
    Posts
    144
    Plugin Contributions
    0

    Default Re: How many Templates can I have

    Quote Originally Posted by schoolboy View Post
    What templates are these, and where did you get them?
    classic..................Zen-Cart site
    cork_board...........Zen-Cart site
    forest_path..........Zen-Cart site
    gold......................Built from scratch, it worked on another site.
    gold_passion.......Zen-Cart site
    rustic....................Zen-Cart site
    simple_zen...........Zen-Cart site
    sophyblue.............Zen-Cart site modified
    springloader.........modified sophyblue Changed to gold colors
    template_default..Zen-Cart site
    wallet...................Zen-Cart site
    wood_ebony.........Built from scratch. it worked on another site

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: How many Templates can I have?

    It's likely that one of the template_info.php files is "duffy", or some other php file... but honestly, what you are doing is pointless.

    You can only ever use ONE template at a time, so don't clog up the server with superfluous code.
    20 years a Zencart User

  5. #5
    Join Date
    Jul 2006
    Location
    Louisiana
    Posts
    144
    Plugin Contributions
    0

    Default Re: How many Templates can I have?

    Quote Originally Posted by schoolboy View Post
    ... but honestly, what you are doing is pointless.

    You can only ever use ONE template at a time, so don't clog up the server with superfluous code.
    Thanks.

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: How many Templates can I have?

    Quote Originally Posted by schoolboy View Post

    You can only ever use ONE template at a time, so don't clog up the server with superfluous code.
    I'll respectfully disagree. Disk space is cheap, and many sites use different templates as an easy way to change the look of the site on holidays and for special promotions.

  7. #7
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: How many Templates can I have?

    yes steve... good point... but again, you don't need 20,000 templates lying dormant.

    On the many sites we manage, we do have (on some of them) "alternative" templates (or components of templates) that we store on LOCAL machines.

    In one case - a client who sells greeting cards and other "event-specific" items - we have just set up a range of different template images. These include the header, sidebox headers and backgrounds, body backgrounds, centre column backgrounds and header backgrounds... etc

    So, in their custom template folder, we have the following:

    templates/CUSTOM/images (for general every-day use)
    templates/CUSTOM/images_christmas
    templates/CUSTOM/images_easter
    templates/CUSTOM/images_mothersday
    templates/CUSTOM/images_thanksgiving
    templates/CUSTOM/images_newyear
    templates/CUSTOM/images_halloween


    And all we do is SUSPEND the main image folder:
    templates/CUSTOM/images
    to
    templates/CUSTOM/images_general

    then rename the appropriate event, say at "christmas time"
    templates/CUSTOM/images_christmas
    to
    templates/CUSTOM/images

    far easier and more efficient than switching to a completely different template.

    Not that this works for everyone, but it is so simple to invoke in this case.
    20 years a Zencart User

  8. #8
    Join Date
    Jul 2006
    Location
    Louisiana
    Posts
    144
    Plugin Contributions
    0

    Default Re: How many Templates can I have?

    Quote Originally Posted by stevesh View Post
    I'll respectfully disagree. Disk space is cheap, and many sites use different templates as an easy way to change the look of the site on holidays and for special promotions.
    Thanks for chiming in Steve. I was going to let it lay. I too disagreed but did not want to go into it at that time.

    The fact of the matter is that I have a client that lives far away and wants to see a hand full of templates in action on my test site before making a decision on the style he wants to create from $cratch. (not 20,000 templates laying dormant)

    Without going into geek alternative suggestions such as which is bigger, smaller, better, bolder, cheaper, easier, harder, best approach with disk space, Zen-Cart or programming in PHP, I say this: My client ask if it could be done. My client is paying the bill. My client wants it done. I want it done. My client is right. I tried to do it.

    I thank schoolboy for trying to answering my initial request and I will study his custom-image solution for a later project. Right now I don't need custom image solutions for seasonal changes. I need to show the client a hand full of different 'layouts', custom designs, and color choices then move on.

    One of the great things we all have in common - differences of opinion. That's what leads to great creativity.

    BTW Is there a limit to the number of templates that can be listed under Includes/templates? HA!

  9. #9
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: How many Templates can I have?

    Is there a limit to the number of templates that can be listed under Includes/templates?
    There is no limit o the number of templates you can have in /includes/templates. If you have broken store, you have broken the code somewhere.
    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.

  10. #10
    Join Date
    Jul 2006
    Location
    Louisiana
    Posts
    144
    Plugin Contributions
    0

    Default Re: How many Templates can I have?

    Quote Originally Posted by Kim View Post
    There is no limit o the number of templates you can have in /includes/templates. If you have broken store, you have broken the code somewhere.
    Thanks Kim. I figured as much. I'll strip everything out and just load one template at a time until it bombs again. Then I'll know.

    Mike

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h how many Flate rate clone can i have?
    By tony_sar in forum Addon Shipping Modules
    Replies: 3
    Last Post: 18 Apr 2012, 02:21 PM
  2. can I have 2 or more templates ftp to my host
    By Graham35 in forum General Questions
    Replies: 6
    Last Post: 18 Apr 2009, 03:29 AM
  3. how can I record that how many people have seem my website ?
    By greenlight in forum General Questions
    Replies: 3
    Last Post: 5 Nov 2008, 02:51 PM
  4. Track how many user have viewed a particular item
    By dwijadas in forum General Questions
    Replies: 2
    Last Post: 14 Jun 2007, 05:25 PM
  5. 2 ZC templates - how do I have 2 on one site?
    By mex in forum General Questions
    Replies: 12
    Last Post: 13 Apr 2007, 12:43 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR