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.

 

Show Two Modules When The User Logs In

Show Two Modules When The User Logs In

I would like to show 2 modules when the user logs in (#144 and #145).  I tried the below but it does not work.  Can I get some help please and thank you.

Code:

if (MM_LOGGED_IN) return 144,145;

else return 1;

MyWorld
Beginner Modder
ranks
useravatar
Offline
14 Posts
Administrator has disabled public posting

Re: Show Two Modules When The User Logs In

Hi,

if you want to return more than one, just put quotes around the list of modules, like this:

if (MM_LOGGED_IN) return "144,145";
else return 1;

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

Board Info

Board Stats:
 
Total Topics:
1685
Total Polls:
6
Total Posts:
5940
Posts this week:
1
User Info:
 
Total Users:
5193
Newest User:
david2398
Members Online:
1
Guests Online:
134

Online: 
Technichem

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked