1
Shiva
Smarty var to determin module?
  • 2008/6/24 0:04

  • Shiva

  • Quite a regular

  • Posts: 280

  • Since: 2006/7/9 1


Is there a smarty var available in theme.html to tell me which module I am currently looking at?

2
snow77
Re: Smarty var to determin module?
  • 2008/6/24 6:08

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


yes. look closely into any of the morphogenesis theme versions. it can be in these two ways, applied as css styles:

In the theme.html
<{$xoops_dirname}>


In the other blocks .html
<{$block.module}>


Ex CSS blocks.html:
#xo-canvas-leftcolumn .xo-block.smartsection .xo-blockcontent

Ex CSS theme.html
body.smartsection #...
www.polymorphee.com
www.xoopsdesign.com

Login

Who's Online

212 user(s) are online (115 user(s) are browsing Support Forums)


Members: 0


Guests: 212


more...

Donat-O-Meter

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

Latest GitHub Commits