Gallery Moderator module shown to non mods.

11 years 9 months ago #47891 by ffaabbss
I would need the module to show to all user but only if they have a pending action. So if they have a connecion request or something the module should show, if no action is required the module should not display at all...
can that be done?
9 years 9 months ago #112544 by tellana
Syrinx wrote:

Here's how I handle this

1) Create new module position called "admin" (or whatever you want)

2) Assign the moderator module to the above module position

3) Edit your site template and put this php clip where you want the module to appear:

<?php if ($my->usertype=="Super Administrator") mosLoadModules ( 'admin' ); ?>

Now only Super Administrators will be able to view any modules that are assigned to the admin module position ;)

I did all as said, but it still does not work for me. I need it to show CB_workflow module only to super administrator, but it shows to all registered, even if it is set for public.
Could this be an issue that I use Joomla 1.5.10?
Moderators: beatnantkrileon
Time to create page: 0.370 seconds
Facebook Twitter Google LinkedIn