Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » Chameleon / ChameleonLite
- » Chameleon
- » Rules are based on domain name, but...
Rules are based on domain name, but also want to include an article iD
Rules are based on domain name, but also want to include an article iD
Hi!
Using chameleon wonderfully on site. The rules are based on the url. If it's a certain url the template switches.
Very simple.
However I want to "force" some articles to use a specific template. I see I can add article ID's in the Content tab, but in this case it's being ignored.
Do I need to create a separate rule in the Chain to address this issue? To assign one article to a specific template?
Thanks
Rowby
Re: Rules are based on domain name, but also want to include an article iD
Hi Rowby,
yes, you need to create a new rule for that.
If you combine conditions in a single Chameleon rule, then BOTH conditions need to be true in order for the rule to succeed. So if you combine a URL and an article ID then both those things would have to occur simultaneously.
So just make a second rule.
If the article-id test is intended as an exception to the general rule, then you might want to order that before the URL test so it gets caught first.
Cheers,
Stephen
- Index
- » Chameleon / ChameleonLite
- » Chameleon
- » Rules are based on domain name, but...
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5942
- Total Posts Today:
- 1
- User Info:
- Total Users:
- 7622
- Newest User:
- boestreecare
- Members Online:
- 2
- Guests Online:
- 141
- Online:
- boestreecare, musser4585
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked