1
Burning
Smarties into Footer field ?
  • 2010/10/6 21:46

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

Xoops 2.4.5

I Would like to put this condition into the footer field (System module / Preferences)

Quote:
<{if $xoops_isadmin}>Admin menu 01 - Admin menu 02 - ...<{/if}>


But it seems that <{if}> tag is not allowed at this place, it returns
Quote:
<{if $xoops_isadmin}>Admin menu 01 - Admin menu 02 - ...<{/if}>

instead of
Quote:
Admin menu 01 - Admin menu 02 - ...


---

That's not important because we can do that with the theme and a footer template ... just to have one more point
Still learning CSS and... english

2
ghia
Re: Smarties into Footer field ?
  • 2010/10/7 8:50

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Smarty is only to be used in templates and theme files. If it needs to be processed in other places, you have to subject the variable string to Smarty in the rendering process in the PHP code.
But this is tedious.

3
Burning
Re: Smarties into Footer field ?
  • 2010/10/7 9:03

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

Thanks for information :)
Still learning CSS and... english

Login

Who's Online

158 user(s) are online (50 user(s) are browsing Support Forums)


Members: 0


Guests: 158


more...

Donat-O-Meter

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

Latest GitHub Commits