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 module on all pages except for one extension

Show module on all pages except for one extension

Hi how would I go about:

Show module A on all pages except for the extension com_hwdvideoshare

for com_hwdvideoshare pages show module B

Sounds simple but I can't figure it out! or find a recipe wink

morktron
Beginner Modder
ranks
useravatar
Offline
11 Posts
User info in posts
Administrator has disabled public posting

Re: Show module on all pages except for one extension

Hi morktron,

try this:

Code:

if ($option == "com_hwdvideoshare") return BBB;

else return AAA;

Then replace AAA and BBB with the appropriate module IDs for the 2 modules.

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

Re: Show module on all pages except for one extension

Great thanks Stephen, thanks works perfectly smile

morktron
Beginner Modder
ranks
useravatar
Offline
11 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5933
Posts this week:
3
User Info:
 
Total Users:
4397
Newest User:
tull687318
Members Online:
0
Guests Online:
123

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