Variable Usage in Smarty Coding
I'd like to include an "if" statement in my smarty coding that matches whether the current user is a member of a specific group. I'm generating a customized menu in the right column of http://tbChampaign.com — and now need to add an option if the user is a member of a specific group.
I know you can check for permissions using something like:
{ if $tiki_p_admin eq 'y' }
and that $ user contains the user's name. But I don't know what to check to verify membership in a specific group (OR I suppose I could add a permission for it, or .. ?)
Is there a list of variables and/or structures that are available while generating a wiki page?
Thanks in advance!
Norm