No luck with the example code above. The module is not showing up.
-
This commment is unpublished.
-
This commment is unpublished.
-
This commment is unpublished.
With a module, Joomla have following filters to show/hide the module:

Question: Have you ever thought how to show/hide module with advanced variables? For example, based on the value of the input variables.
Example:
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 ( $13 )
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:

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.
{loadmoduleid 1}
Note: This module is only for those who know about the PHP language.
1. The "radio buttons" extra field doesn't transfer the values in the additional field, e.g., "yes" or "no," and only enters certain values into the #__fields_values database.
2. The "textarea" extra field with the "Use editor" option checked converts to "textarea" when it should be "editor."
3. In K2, the extra field group is assigned in the category. In Joomla Articles, the category is assigned in the extra field. It would be nice if this were automatically completed. A checkbox could be added if someone doesn't want this option.