xoops forums

mschmid

Just popping in
Posted on: 2013/2/4 17:38
mschmid
mschmid (Show more)
Just popping in
Posts: 28
Since: 2002/9/19
#1

Individual Theme Header per Module in xoops 2.6

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

cgunther

Just popping in
Posted on: 2013/2/4 21:59
cgunther
cgunther (Show more)
Just popping in
Posts: 59
Since: 2005/3/27
#2

Re: Individual Theme Header per Module in xoops 2.6

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

trabis

Core Developer
Posted on: 2013/2/4 23:09
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#3

Re: Individual Theme Header per Module in xoops 2.6

Look in themes/default/theme.html


$xoops_dirname will have the dirname of the current module ('system', 'news', 'newbb', etc)

irmtfan

Module Developer
Posted on: 2013/2/5 4:35
irmtfan
irmtfan (Show more)
Module Developer
Posts: 3419
Since: 2003/12/7
#4

Re: Individual Theme Header per Module in xoops 2.6

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.