Hi!
I got different user-groups and different forms. I want, that only specified user-groups can access their specified forms.
How can i manage that?
Thank you and best regards
Mark
I got different user-groups and different forms. I want, that only specified user-groups can access their specified forms.
How can i manage that?
Thank you and best regards
Mark
Hi Mark,
Assuming that you are using standard Joomla groups then you should be able to identify the current user's group with $my->gid and use conditional php to show or not show the form.
Assuming that you are using standard Joomla groups then you should be able to identify the current user's group with $my->gid and use conditional php to show or not show the form.
<?php
global $my;
if ( $my->gid == 99 ) {
// show this form
} else {
// do something else
}
?>
Bob<br><br>Post edited by: GreyHead, at: 2008/03/06 17:35
Thank you Bob!!!
Best regards
Mark
Best regards
Mark
This topic is locked and no more replies can be posted.