Re: Variable Usage in Smarty Coding
I am not aware of any variable that contains the list of groups that a user is included in. There are functions in lib/userslib.php that return the list of users in a group or other such utilities. But this is not where you really want to go.
I think what you want to do is create a new menu, then assign to a new module and then assign it to be visible only for the appropriate groups.
Admin -> Menus will allow you to create a new menu (say, menuId=43)
Admin -> Modules will allow you to create a new module that uses the created menu. The contents of the module would be { menu id=43 }
Now assign the new module to be visible as appropriate.
gary