osCmax v2.5 User Manual
Results 1 to 9 of 9

URL template switching... whats the switch?

This is a discussion on URL template switching... whats the switch? within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; OK this is going to sound stupid... I'm trying to build a new template without disturbing my live site... I ...

      
  1. #1
    New Member
    Join Date
    Mar 2005
    Posts
    11
    Rep Power
    0


    Default URL template switching... whats the switch?

    OK this is going to sound stupid...

    I'm trying to build a new template without disturbing my live site... I remember that there's a switch you can type into the URL to view the site with a different template, but I can't for the life of me find what it is.

    Anyone know? And where can I find it in case I forget again? I searched the FAQ/Guide... found lots of references to it but none saying what the actual switch was.

  2. #2
    New Member
    Join Date
    Dec 2003
    Posts
    5
    Rep Power
    0


    Default

    I'm also curious about this as well....Anybody know?

  3. #3
    osCMax Development Team
    Join Date
    Nov 2002
    Location
    Orlando
    Posts
    433
    Rep Power
    14


    Default

    It's in the admin panel under my store. There is a switch to allow template switching through the URL.i
    John

  4. #4
    New Member
    Join Date
    Dec 2003
    Posts
    5
    Rep Power
    0


    Default

    Quote Originally Posted by JohnW
    It's in the admin panel under my store. There is a switch to allow template switching through the URL.i
    I think we understand that. But how is it used? What URL do you use to use a template through it?

  5. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    Add this after the index.php in the url:

    ?tpldir=aabox
    ?tpldir=osC

    Get the idea?
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  6. #6
    New Member
    Join Date
    Dec 2003
    Posts
    5
    Rep Power
    0


    Default

    Yup, I just didn't know what the variable was, thanks!

  7. #7
    Member
    Join Date
    Jul 2005
    Posts
    91
    Rep Power
    0


    Default Template Switch in URL for 2.0?

    Should the URL append work in 2.0? It's not for me...

    I enable template switching and some templates like aabox, don't seem to support it. My modified osC template allows switching, but I can't switch back.

    The only way I can get switching is by changing the value in the Admin.

    Anyone tell me what I am missing?

    K

  8. #8
    Lurker
    Join Date
    Nov 2004
    Posts
    1
    Rep Power
    0


    Default RE: Template Switch in URL for 2.0?

    try tplDir= (with capital D), i.e. index.php?tplDir=CSS-fluid-1. That worked for me..

  9. #9
    Member
    Join Date
    Jul 2005
    Posts
    91
    Rep Power
    0


    Default

    I tried pasting that onto the URL in my store and it didn't evidently change anything that I could see.

    I think that when I first posted on this, I meant to communicate that some of the templates put the template list into the store display and allow switching, when switching is enabled, and if you select one of the ones that don't, there's no obvious way back, but closing and reopening the browser- a minor point, but it's nice to be able to try out all the templates just by clidking through them.

    K

Similar Threads

  1. Template switch only "mostly" works....
    By sheikyerbouti in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 10-18-2005, 04:00 PM
  2. switching templates
    By gezi in forum osCMax v1.7 Installation
    Replies: 0
    Last Post: 10-27-2004, 12:22 AM
  3. CVV and UK Switch Card Numbers
    By NickW in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 03-13-2004, 01:48 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
  •