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.

 

SOLVED I'd like to assign a component twice to different joomla groups

SOLVED I'd like to assign a component twice to different joomla groups

Hello,

In my first rule i set as following:
Content and Components : com_EXAMPLE
Users and Groups:  All groups except "Special"
ACTIONS: Set TemplateStyle on Succeed Actions: Template ALPHA
ACTIONS: Set TemplateStyle on Fail Actions: ##Ignore##

I set the second rule as following :
Content and Components : com_EXAMPLE
Users and Groups:  Selected groups: "Special"
ACTIONS: Set TemplateStyle on Succeed Actions: Template BETA
ACTIONS: Set TemplateStyle on Fail Actions: ##Ignore##

But when Special user login and reach com_EXAMPLE component, he's still staying on Template ALPHA.

Help please.

wins
Beginner Modder
ranks
useravatar
Offline
7 Posts
Administrator has disabled public posting

Re: SOLVED I'd like to assign a component twice to different joomla groups

Hi Wins,

I suggest that you switch on Debug mode in Chameleon (in the Options panel) and test out the scenarios. When you view the pages on the front end you should see debug output from Chameleon. It will tell you what is happening as it tries each rule in turn.

My guess is that the FAIL action in rule 1 is set to "stop processing" instead of "process next rule in chain". But you'll see that from the output. The other possibility is that it's not detecting the group properly.

Hope that helps,
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
3329 Posts
User info in posts
Administrator has disabled public posting

Re: SOLVED I'd like to assign a component twice to different joomla groups

SOLVED.
Thanks dude.

wins
Beginner Modder
ranks
useravatar
Offline
7 Posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1683
Total Polls:
6
Total Posts:
5940
Posts this week:
11
User Info:
 
Total Users:
5142
Newest User:
zaki98040
Members Online:
0
Guests Online:
165

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