Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » Chameleon / ChameleonLite
- » Chameleon
- » Simple Template Switching
Simple Template Switching
Simple Template Switching
Hey All - Basic question. I have over 100 Joomla templates I would like to show on my site, and I would like just to have a visitor click on a menu link (or linked thumbnail) and have the site template change based on the link. (A template gallery, in other words)
So, the logic would be something like this.
If Link 1, then Site Template 1
If Link 2, then Site Template 2
etc.
I started by setting up subdomains for each link - 1.mysite.com for Template 1 etc -- with each simply directing back to the root, as I want all site pages to change with each template switch; and I thought I could use the subdomains to identify individual templates. However, I can see how to switch up to four templates using the A-D variables, but I need to link many more templates.
Is there a simple recipe I could use to achieve the above?
Thanks in advance!
PS Using J1.7 with Chameleon 2-22 Pro
PPS I saw a forum reference to a video that would show how to ceate a template gallery, but I can't find the thing.
06-Jan-12 23:27:28
Re: Simple Template Switching
Hi daxue,
those are good questions.
Can I just check with you: are you still wanting to do this based on domain name? If so, you don't need to use the variables. It's pretty easy to set things up with multiple variables if you do want to do it that way, using cookies.
However, with 100 templates, I am sure you'll be adding even more, and the task of managing the system is going to be crucial. If it's purely template switching with a front-end module that you need to do, have you tried "Template Selector" from the Joomla Extensions directory? http://extensions.joomla.org/extensions … ating/7466
If that's not suitable I can certainly advise on some ways of achieving this with Chameleon.
Best regards,
Stephen
- Index
- » Chameleon / ChameleonLite
- » Chameleon
- » Simple Template Switching
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5943
- Posts this week:
- 2
- User Info:
- Total Users:
- 7639
- Newest User:
- corwin8669
- Members Online:
- 0
- Guests Online:
- 177
- Online:
- There are no members online
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked