PDA

View Full Version : Maintaining one header with a lot of themes/styles?



veedee
Mon 15th Jul '02, 6:01pm
Hiya gang,

I run about 10 styles on my website. Apart from being annoying when I come to update, or add a new hack, I have found another problem.

I want to run a global header across my forums *and* my site.

I am not great at PHP but not bad, however I need advice when it comes to implementing a new header.

Can I create a file called header.php and insert it into the forum using $header?
Where would I insert it, in the hard code or in the templates?

Kind Regards,

veedee

Steve Machol
Mon 15th Jul '02, 6:44pm
The easiest way to do this would be to just cut-n-paste the header into each of the header templates.

veedee
Mon 15th Jul '02, 6:52pm
...:rolleyes:

10 style sets equals 10 templates, with a header changing almost daily, that measn I have to do 10 changes almost daily.

Thanks but no thanks..

Steve Machol
Mon 15th Jul '02, 6:55pm
Ah, but you didn't say anything about changing your headers daily. I suspect the place you'll need to ask is over at vbulletin.org.

veedee
Mon 15th Jul '02, 7:02pm
Cheers my man :)