Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
6 - 4 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Links in Theme based on user groups
by mboyden on 2008/1/17 20:19:51

No, groups don't exist in smarty variables unless defined in the php code some way. However, you could also use some php code in the template, the set a smarty variable with that information then accessible in the template for further usage.
Links in Theme based on user groups
by Krispy on 2008/1/17 18:20:41

I am working on a theme that needs to have links in the header/top nav that must be based on user groups. I know I can include <{if}> statements based on if the user is admin, user, or guest, but can I include one for user group?

For example, I have a link that only users in group ID 4 can view, is there an <{if}> statement that restrict that link from showing unless the logged-in user is in group ID 4?

Who's Online

188 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 188


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits