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 ;).
-------------------
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.
We are using JMP File Manager version 1.3.3 on our Joomla 6.1.1 website and need your assistance with configuring folder-level access restrictions.
Requirement:
We want users assigned to the TeamMarketing user group to access only the docs folder. They should not be able to view or access other directories, such as administrator, components, images, modules, and other folders in the Joomla root directory.
Current Configuration:
Joomla Version: 6.1.1
JMP File Manager Version: 1.3.3
Configured Path: .
Advanced Permissions:
[TeamMarketing]docs
[Editor]docs
The TeamMarketing user is assigned to the TeamMarketing group, and the TeamMarketing group is nested under the Publisher group in our Joomla user-group hierarchy.
However, after saving the configuration and logging in as the TeamMarketing user, the file manager still displays the entire Joomla root directory and its folders instead of restricting access to the docs folder.
We have also reviewed the component permissions in Joomla Global Configuration, but the folder-level restriction is still not working as expected.
Could you please clarify the following?
Is our current Advanced Permissions syntax correct for JMP File Manager version 1.3.3?
How should we configure the component to allow the TeamMarketing group to access only the docs folder?
Does the component support restricting the root directory and hiding all other folders based on Joomla user groups?
Are there any additional settings, permission rules, or code changes required to achieve this functionality?
We can provide screenshots of our current configuration and the issue for further investigation.
We would appreciate your guidance on the correct configuration or a recommended fix.
Thank you for your support.
Best regards,
^Add a message editing option for users who cannot use this feature.