Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » Chameleon / ChameleonLite
- » Chameleon
- » Different template for different domains
Different template for different domains
Different template for different domains
Hi,
Im trying to setup two domains (for now) to see if i can get them to successfully switch between templates dependant on the domain.
For the purposes of this ive created a rule - Domain - middevon.co.uk sets template style as gk_twn. If fails then go to Beez template.
Whatever i try both urls show the same template. Even if i create two rules that are completely oposite i will still get the same template on both URL's
domains middevon.co.uk and cullomptonian.co.uk
See attached screenshot below
http://middevon.co.uk/chameleon-issue.png
Re: Different template for different domains
Hi,
the screenshot shows that Chameleon will test for the domain middevon.co.uk (not the www version), and is that succeeds it sets the template to Beez2. If it fails, it sets the template to gk_twn2. This is the opposite of what you explained above.
In cases like this, Chameleon's Debug mode is a big help. You can get to that in the main Chameleon settings, on the Rule Chain page. Turn on the debug mode, then view your site on the front end. So long as there is a DEBUG module position, you'll see a bunch of info being output about what is being tested, and what actions are being taken. Can you please try that, and I think you'll find out what's going on. Perhap there's another rule before or after the current one that's affecting the output, or something else like that.
Hope that helps,
Stephen
- Index
- » Chameleon / ChameleonLite
- » Chameleon
- » Different template for different domains
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5942
- Total Posts Today:
- 1
- User Info:
- Total Users:
- 7623
- Newest User:
- laptopreviews21
- Members Online:
- 0
- Guests Online:
- 124
- 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