1
khuhner
Conditional code in HTML? (Need to Add Admin Menu in Custom Block)
  • 2006/1/16 17:49

  • khuhner

  • Quite a regular

  • Posts: 232

  • Since: 2006/1/6 3


I've created my own user and content menus (using iContent) and now at the last step of adding the Admiistration menu for those who are permissioned.

However when I add the code in my custom block:

<{if $xoops_isadmin}>
<a href="<{$xoops_url}>/admin.php"><{$block.lang_adminmenu}></a>
<{/if}>


It doesnt render as the standard menus do. When editing my custom block should I chose something other than HTML? If I choose PHP, can I accomplish the same thing?

Regards,
Kurt

2
khuhner
Re: Conditional code in HTML? (Need to Add Admin Menu in Custom Block)
  • 2006/1/18 17:29

  • khuhner

  • Quite a regular

  • Posts: 232

  • Since: 2006/1/6 3


<bump> Anybody?

Login

Who's Online

164 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 164


more...

Donat-O-Meter

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

Latest GitHub Commits