Home : Products : Gossamer Forum : Discussion :

Products: Gossamer Forum: Discussion: Re: [carfac] If a User is a member of a special group: Edit Log

Here is the list of edits for this post
Re: [carfac] If a User is a member of a special group
As far as I know you'd need a global, something like:

Code:
sub {
return $DB->table('UserGroup', 'Grouping')->select('group_name', { user_id_fk => $_[0] })->fetchrow;
}

You'd call it like:

<%if the_global($user_id) eq 'GT'%>

*I think* ... do a <%GT::Template::dump%> to find the exact tag for the user id.

Last edited by:

Paul: Mar 20, 2003, 11:48 AM

Edit Log: