PDA

View Full Version : I need two differnet headers



Robert9
Tue 9th Oct '01, 10:00am
How is it possible to parse two different headers ?
Could i add a new variable, so when the board is called from the visitors area it shows only some links, but when called from the member area there are all links?

The thing is we wont have the forum in a new window,
so all the links have to be in the header. Cause we have three different areas, we need at least two different headers in forum.

I could solve it with frames, but thatīs not the way i prefere.

I cant imagine noone has this problem before, but i cant find anything here.



Robert

mjames
Tue 9th Oct '01, 5:46pm
Yes, it is possible. You use a feature called co-branding, which is available in the CP. You can create additional style sets and apply them to whichever forums you want them to be on.

Robert9
Thu 25th Oct '01, 10:18pm
Nope. I need the same forum for different areas but one time with header 1 one time with header 2.

My first step is to call index.php?style=1

then i ask in global.php if style =1 then parse header1
or the same with 2.

This do the trick for the first site, but not more.

The next step is to add behind every $session[session] inside the templates a &style=$style.

This do the trick for most of the links, but not for the links to threads or for registering.

Im no phpler but i think i could pass this variable only to the first template; if the second template is parsed into the first, it fails ...

Robert