Forums / Setup & design / Template look change based on user group

Template look change based on user group

Author Message

Noicokuna Niemoge

Tuesday 17 February 2009 12:43:33 am

Hi;

I wonder if this can be done: I'd like to create different look of forum posts and page comments, depending on user group. For example, admin answers would be highlighted with different background color, etc.

Can this be done in template language? How would you do it? I think the "if" statement should be used, but that's all what I know. :)

Shiki soku ze ku...

Michael Fürst

Tuesday 17 February 2009 3:32:36 am

Hi,

I think that you can get the user group by fetching the user object assigned to a message. Just have a look at the "fetch" functions in the manual.

Regards,
Mike