With a module, Joomla have following filters to show/hide the module:
- Start - Finish Publishing: Display the module in the time period
- Access: Display module based on User access level (guest, member, admin)
Question: Have you ever thought how to show/hide module with advanced variables? For example, based on the value of the input variables.
I have a module (ID=1) and I put it in the search page. I want this module to display only when the keyword is "Hello".
Obviously, with Joomla basic filters you can't do this. That's why I wrote this module ;).
>> Download the module here: Buy Now ( $10 )
After downloading, you need install it via Joomla installer. Next, go to Module Manager > New > Condition Module to get started.
In this module, you will see two fields:
- PHP Condition.
- List Modules
Going back to the example above, you will solve this issue if enter this code into PHP Condition.
<?php $q = @$_REQUEST["q"]; return $q=="Hello";
And this code into List Modules.
Note: This module is only for those who know about the PHP language.