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.

 

Module still shown with recipe

Module still shown with recipe

Hello,

I want a module to be shown for a special group, after using the recipe the module still shows with the group were I do not want to show it. I hope you can help me.

Groups: Registerd and Werkgevers (dutch)
I want to show a particulair module afer login in to Werkgevers.
I use this recipe: if ( $user->usertype == "Werkgevers" ) return 249;
Joomla: 1.5.23
Using Metamod
my site is: www.seizoenwerk.nl

Thx

tim
Beginner Modder
ranks
useravatar
Offline
13 Posts
Administrator has disabled public posting

Re: Module still shown with recipe

Hi Tim,

Have you followed the instructions in the Quick Start Guide?

http://www.metamodpro.com/metamod/quick-start

Particularly, you need to do something to the target modules (e.g. 249) so that they do not show up until/unless MetaMod includes them. e.g. set Menu to "none", or set to a non-existant module position.

The other thing is that if you are using a PHP rule (which you are), you almost always should keep the "Quick module id or position include" box EMPTY.

Probably one of those things will fix your problem smile

Best regards,
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
3314 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1685
Total Polls:
6
Total Posts:
5912
Total Posts Today:
4
User Info:
 
Total Users:
11504
Newest User:
toko solo
Members Online:
0
Guests Online:
160

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