1
kalamata
How do I reference Smarty variables (assigned through assignTpl) in templates?
  • 2007/6/27 15:32

  • kalamata

  • Not too shy to talk

  • Posts: 121

  • Since: 2005/3/3 1


Dear All,

I want to display a link to the main menu of my XOOPS site, but only to registered users. When I wanted it only to be shown to admin users the following conditional in the relevant template of the system module would be sufficient: <{if $xoops_isadmin}> ... <{/if}>. If I change it to <{if $xoops_isuser}>...<{/if}> to check if a user is logged on, it will not work. Any ideas on what I am doing wrong (or overlooking) here?

I look forward to hearing from you soon.

Many Thanks,
George

Login

Who's Online

290 user(s) are online (213 user(s) are browsing Support Forums)


Members: 0


Guests: 290


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits