Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » [solved] Do not show module in view
[solved] Do not show module in view
[solved] Do not show module in view
Hi,
I need to show the module 152 in the $view: categorydetail and must be hide in $view: eventdetail but I can´t do it. Maybe you can help me.
This is my debug info:
Module ID: 161
$option: com_eventsnova
$view: categorydetail
$id:
$Itemid: 145
$timezone: UTC
$language: es-es
$language_code: es
$language_region: es
Including modules: 152
Module ID: 161
$option: com_eventsnova
$view: eventdetail
$id:
$Itemid: 145
$timezone: UTC
$language: es-es
$language_code: es
$language_region: es
Including modules: 152
Thanks in advance,
Re: [solved] Do not show module in view
Hi,
try this:
if ($option == "com_eventsnova" and $view == "categorydetail") return 152;
Then you also need to remove "152" from the "quick module position or id include" box if you have it in there. Just leave that box blank,
- Index
- » MetaMod
- » MetaMod General Support
- » [solved] Do not show module in view
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5943
- Posts this week:
- 2
- User Info:
- Total Users:
- 7639
- Newest User:
- corwin8669
- Members Online:
- 0
- Guests Online:
- 184
- 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