Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#144743 - 20/02/2003 14:36 Anyone with experience with phpbb?
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
Is there a way to include HTML from a file in the "overall_header.tpl" file?

I'm posting this on the phpbb forums as well, but they can be pretty unhelpful over there.
_________________________
Matt

Top
#144744 - 20/02/2003 15:24 Re: Anyone with experience with phpbb? [Re: Dignan]
ricin
veteran

Registered: 19/06/2000
Posts: 1495
Loc: US: CA
A quick look at the code shows that it's actually pre-pending an "echo" to every line in the template when it is parsed, so a simple <?php include('included-file.html'); ?> will not work as it would end up just being echo'd into the final html and never executed. Easiest solution would be to just cut and paste your html into the template file, that's what it's there for.
_________________________
Donato
MkII/080000565
MkIIa/010101253
ricin.us

Top