PHP include header?

The 2.0.x discussion forum has been locked; this will remain read-only. The 3.0.x discussion forum has been renamed phpBB Discussion.

PHP include header?

Postby listenmirndt » Thu Sep 02, 2004 11:59 pm

Hello,
Id like to include a header on several forums, same header, same file, different forums

Im using

include 'http://www.domain.com/header.php'; (so each forum header shares 1 file)

But I cant figure out where to put it.. if on index.php or page_header.php I cant get it at the top without a cannot modify header error,

I CAN get it below the overall_header.tpl, but not above, without an error, I assume the include has to be in the over_header.tpl file, but the .tpl page isnt showing PHP code, if I point the page_header.php to overall_header.php, PHP code -still- dosnt work..

any help?
thanks
-Arron
Boardtroll Forums Directory | More then 40 PHPBB forums and hundreds of catagories available from a single registration. http://www.boardtroll.com
User avatar
listenmirndt
Registered User
 
Posts: 9
Joined: Thu Oct 09, 2003 6:14 am

Postby geocator » Fri Sep 03, 2004 3:33 am

You cannot use php code in the tpl files without the extreme style MOD: http://www.phpbb.com/phpBB/viewtopic.php?t=125251
User avatar
geocator
Registered User
 
Posts: 16242
Joined: Fri Jan 09, 2004 11:56 pm
Location: On dry land


Return to 2.0.x Discussion

Who is online

Users browsing this forum: No registered users and 2 guests