Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

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

rowby
Junior Modder
ranks
useravatar
Offline
24 Posts
User info in posts
Administrator has disabled public posting

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

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3313 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5913
Dormant:
User Info:
 
Total Users:
10796
Newest User:
mokao3
Members Online:
0
Guests Online:
138

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