Home » Forum
NoNumber!

Joomla! Extensions •
Web Development •
Web Design •

I try to respond within 24 hours (excluding weekends). If I haven't responded by then, feel free to post a reminder or bug me via email.
Welcome, Guest
Please Login or Register.    Lost Password?

Module display based on CB or JOMSOCIAL field ?
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Module display based on CB or JOMSOCIAL field ?
#7701
Module display based on CB or JOMSOCIAL field ? 4 Months, 3 Weeks ago  
Is it possible to have a parameter for a CB or JOMSOCIAL custom field?
I am thinking of a parameter where i can specify a fieldname or ID. This field is checked for the current logged in user.
If there is a specific value or at least a checked box then the module is displayed...

Does it make sense?

Is there any other extension which can check for specific user and a custom field?

TIA!
rexkramer
Posts: 21
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#7707
Re: Module display based on CB or JOMSOCIAL field ? 4 Months, 3 Weeks ago  
AMM comes with the possibility to assign by php evaluation and url. So anything that is not already in the assignments list, can be handled by php evaluation and/or url matching.
Peter van Westen
Admin
Posts: 4280
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! NºNumber!NºNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#7710
Re: Module display based on CB or JOMSOCIAL field 4 Months, 3 Weeks ago  
That sounds really promising, though my PHP knowledge is very limited
I am still investigating the really cool AMM...
I wonder how i get the CB user and field info. Maybe your module is the solution.

BTW,
I took a look on CustoMenu, cause i am after a restricted menu display. Is it possible or does it make sense to have a PHP condition in that module, too?
rexkramer
Posts: 21
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#7712
Re: Module display based on CB or JOMSOCIAL field 4 Months, 3 Weeks ago  
I am not sure what you are trying to do. Can you tell me the end result you are after?
A different menu module per user?
Peter van Westen
Admin
Posts: 4280
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! NºNumber!NºNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#7715
Re:Module display based on CB or JOMSOCIAL field ? 4 Months, 3 Weeks ago  
Lets say...
there is a hidden checkbox field, which is an indicator for a special status of the user. This checkbox field is un-/checked only by the administrator.

If the checkbox is YES, show a special menu for the the user.
Its one special menu for all users.
rexkramer
Posts: 21
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#7716
Re:Module display based on CB or JOMSOCIAL field ? 4 Months, 3 Weeks ago  
Is this the right syntax?

$user =& JFactory::getUser();
return ($user->cb_showextramenu==1);
rexkramer
Posts: 21
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
Joomla Open Source Training