Search
Other Advanced Module Manager questions
Forum

Excluding modules from DPCalendar single events

SERVIMAIN's Avatar SERVIMAIN
Hi

I'd like to get a specific module removed from DPCalendar single event view. I've tried setting up the following conditions:

-Menu Item > do not display in child items
-Component - DPCalendar (doesn't work, as it removes from all component views)
-URL > index.php?option=com_dpcalendar&view=event - Doesn't work

Is there any other way I could setup a condition for getting that module not displayed for single event items for that component?

Thanks.
Peter van Westen's Avatar Peter van Westen ADMIN
Not sure. You'll probably need to use a custom PHP condition.
docs4.regularlabs.com/advancedmodulemana...ustom-php-conditions

Maybe something like:
return $app->getInput()->getCmd('option') == 'com_dpcalendar' && $app->getInput()->getCmd('view') == 'event';
Please post a rating at the Joomla! Extensions Directory
SERVIMAIN's Avatar SERVIMAIN
Awesome! That works like a charm. Thank you!
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription