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.

 

Display a module only on articles and not in category pages

Display a module only on articles and not in category pages

Hello i would like to show a module only on an article page and not in the category view, is that possible with this module?
If yes, could you please provide me the code for this thing?
Thanks in advance

I'm using joomla 1.5

~Jacob

P.S.  Here is what i am working with.  It's showing in the category/blog view and I just want it to show in the article.

http://www.thejuniorfactor.com/archives/season4

jacob.trowbridge
Beginner Modder
ranks
useravatar
Offline
1 Posts
Administrator has disabled public posting

Re: Display a module only on articles and not in category pages

Hi Jacob,

if ($core_genius->check("pagetype = article")) return XXX;
// replace XXX with the module id of the module to display

Remember:
1 - read through the Quick Start guide, http://www.metamodpro.com/metamod/quick-start and follow all instructions
2 - don't put anything into the Quick Module ID Include box. Leave it empty.

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

Board Info

Board Stats:
 
Total Topics:
1679
Total Polls:
6
Total Posts:
5913
Dormant:
User Info:
 
Total Users:
10727
Newest User:
solza2
Members Online:
0
Guests Online:
192

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