1
mschmid
Individual Theme Header per Module in xoops 2.6
  • 2013/2/4 17:38

  • mschmid

  • Just popping in

  • Posts: 28

  • Since: 2002/9/19


Hi Gurus

I do try to implement a Theme in xoops V2.6.0. There I wanna have for each Module a different Theme Header. Have seen in the default theme that there is the var <{$xoops_module_header}> in the theme_head.html file. Any idea how I can specify this <{$xoops_module_header}>. Or any other Idea how I can implement this different Headers (Menus) in the Theme?

Any hint will help
Markus

2
cgunther
Re: Individual Theme Header per Module in xoops 2.6
  • 2013/2/4 21:59

  • cgunther

  • Just popping in

  • Posts: 59

  • Since: 2005/3/27


Use module called Defacer. You can find it in the Module Pack, read about it here:

https://xoops.org/modules/news/article.php?storyid=6411

3
trabis
Re: Individual Theme Header per Module in xoops 2.6
  • 2013/2/4 23:09

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Look in themes/default/theme.html $xoops_dirname will have the dirname of the current module ('system', 'news', 'newbb', etc)

4
irmtfan
Re: Individual Theme Header per Module in xoops 2.6
  • 2013/2/5 4:35

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


yes the name of <{$xoops_module_header}> is really confusing for new users.
this smarty was for localization in old xoops core (add styles/js/...)
You should do what trabis said.

Login

Who's Online

195 user(s) are online (104 user(s) are browsing Support Forums)


Members: 0


Guests: 195


more...

Donat-O-Meter

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

Latest GitHub Commits