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.
Any suggestion ?
Here is the working page on the test site:
https://testsite.formalms.org/forma-plugins/375-2factor-authentication-plugin.html
Here the production site:
https://formalms.org/forma-plugins/375-2factor-authentication-plugin.html