Page 6 of 6 FirstFirst ... 456
Results 51 to 58 of 58
  1. #51
    Join Date
    Nov 2005
    Posts
    75
    Plugin Contributions
    1

    Default Re: template switch addon

    Hi all

    Kobra, can I ask you about this comment "Template switch is not meant for an operating site...."

    apart from the extra coding required for building the template is there any technical reasons this could cause problems, eg checkout, creating an account

    the reason I ask is I was thinking this maybe another option for building a mobile version of a zen site.

    if a mobile browser is detected you could offer the user a "mobile" optimised template of the site, while it might not be a perfect solution is seems simpler than some of the other coding methods I've look at!

  2. #52
    Join Date
    Nov 2010
    Location
    Vancouver, BC
    Posts
    116
    Plugin Contributions
    0

    Default Re: template switch addon

    I've successfully installed this addon at http://zen.thedjphat.com

    My question is this - can I prevent the switch from showing the classic template?

  3. #53
    Join Date
    Aug 2005
    Posts
    26,043
    Plugin Contributions
    9

    Default Re: template switch addon

    can I prevent the switch from showing the classic template?
    What is in your template.txt file??? Only thpse listed and installed can be switched

    NOTE: This is NOT recommended for a live operating site....Ony a development, showcase etc
    Zen-Venom Get Bitten
    Get Your Business Found

  4. #54
    Join Date
    Nov 2010
    Location
    Vancouver, BC
    Posts
    116
    Plugin Contributions
    0

    Default Re: template switch addon

    What I actually mean is - when no cookie is present, I would prefer the site to select the zj_black template, over the classic. I tried removing the "classic" entry, but with no cookie, it seems to default to this.

    --------------------------
    classic
    zj_black
    zj_orange
    zj_silver
    aberdeen_neutral
    ---------------------------

  5. #55
    Join Date
    Aug 2005
    Posts
    26,043
    Plugin Contributions
    9

    Default Re: template switch addon

    thedjphat,

    Set the template selected in the admin to zj_black and remove from your templates.txt file classic

    Code:
    zj_black
    zj_orange
    zj_silver
    aberdeen_neutral
    Zen-Venom Get Bitten
    Get Your Business Found

  6. #56
    Join Date
    Nov 2010
    Location
    Vancouver, BC
    Posts
    116
    Plugin Contributions
    0

    Default Re: template switch addon

    I'm afraid that didn't work - after removing "classic" from the text, setting the default to zj black, and clearing the cookies, I still wind up with the classic template first.

    I'm not that concerned about it anymore, as I've made some modifications to 'classic' to showcase the work.

    Thanks for the great mod!

  7. #57
    Join Date
    Sep 2009
    Location
    California
    Posts
    214
    Plugin Contributions
    0

    Have a Drink Re: template switch addon

    Quote Originally Posted by kobra View Post

    NOTE: This is NOT recommended for a live operating site....Only a development, showcase etc
    OK... but what "IF" it was to be on a live site? I have a rather unique idea for one but only if the visitor can switch and still make a purchase.

    Sure... it'll just be funny for them - but I think it'd catch on. (at least for my site) What I'd really like to do is - depending on what URL they come in on... switch to that template. :)

    Just as a teaser - the sidebox would be labeled, "What are you ?" and the pull-down would be 'Human' or 'Zombie' - since Zombie's need their emergency supplies as well.

    Thanks.

  8. #58
    Join Date
    May 2009
    Posts
    731
    Plugin Contributions
    0

    Default Re: template switch addon

    How can I put the switcher in the header instead of sidebox?

    I tried this:
    http://www.zen-cart.com/showthread.p...oxes-to-header
    but no luck

    Thank you

 

 
Page 6 of 6 FirstFirst ... 456

Similar Threads

  1. URGENT HELP ME PLEASE!!!! Site broke after template switch?
    By linnx in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Jun 2009, 06:42 AM
  2. Template switch -- and now i get no analitics data?
    By lieven23 in forum Addon Templates
    Replies: 0
    Last Post: 2 May 2009, 01:37 PM
  3. Cant switch side search box off? [Apple Zen Template]
    By backinthesaddle in forum Addon Templates
    Replies: 2
    Last Post: 6 Mar 2009, 09:04 PM
  4. Switch from English to Spanish changes Template - why?
    By Mevaser in forum Addon Language Packs
    Replies: 2
    Last Post: 24 Aug 2007, 08:39 PM
  5. Fatal Error in UK Switch/Maesto cc_uk addon
    By hutting in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 16 May 2006, 10:02 AM

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
  •