Hi.
How can I show users with different usergroups different content in the anycontent.php-file.
Is it possible to get the usergroups for the current user?
Thanks in advance,
peng12341
something like this could work fro you :
if (USER_GROUP=='administrator'){
//content for administrator
}else if (USER_GROUP=='Registred'){
//content for registered group
}
USER_GROUP variable has the title of group
also you can use case statment and also you can first query xxx_categories table and find all categories title ....
Thank you very much.
Thats exactly what I needed!
*thumbs up*