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.

 

Hide module only in blog/list category page

Hide module only in blog/list category page

Or published module only in articles and not in blog/list category page

I use joomla 1.5.15 and metamod 2.2c
¿It´s possible?
Thank a lot

mikel2004
Beginner Modder
ranks
useravatar
Offline
7 Posts
Administrator has disabled public posting

Re: Hide module only in blog/list category page

Here similar answer for show category blog (not for hide):
http://www.metamodpro.com/forums/topic?id=77

mikel2004
Beginner Modder
ranks
useravatar
Offline
7 Posts
Administrator has disabled public posting

Re: Hide module only in blog/list category page

Hi Mikel,

It's a nice easy one:

To show modules ONLY on article pages, and not on the parent category or section pages, use this:

if ($option == "com_content" and $view == "article") return XXX;
// replace XXX with the module id of the module you wish to display.

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:
10789
Newest User:
parus6
Members Online:
1
Guests Online:
175

Online: 
parus6

Forum Legend:

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