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 on all but homepage (also virtuemart homepage)

Module on all but homepage (also virtuemart homepage)

Hi,

I'm stuck again on how to get a module to appear on all but the Joomla/Virtuemart homepage. Have looked through the recipes, tried a few, but am still stuck.....

Grateful for any help.

Thanks a lot.

qme1ster
Beginner Modder
ranks
useravatar
Offline
17 Posts
Administrator has disabled public posting

Re: Module on all but homepage (also virtuemart homepage)

Try this, I think it will work:

$vm = JomGenius("virtuemart");
if ( $option != "com_virtuemart" or $vm->check("pagetype != frontpage") ) return XXX;
// replace XXX with module id to show on all pages except VM "frontpage" view.


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

Board Info

Board Stats:
 
Total Topics:
1666
Total Polls:
6
Total Posts:
5909
Dormant:
User Info:
 
Total Users:
10091
Newest User:
lamanaudio
Members Online:
3
Guests Online:
127


Forum Legend:

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