dedicated headers for specific forums

This forum is now closed. Please ask all styles-related questions in the phpBB 3.0 Styles Support & Discussion Forum.
alan keys
Registered User
Posts: 100
Joined: Wed Aug 02, 2006 9:09 am

dedicated headers for specific forums

Post by alan keys »

2.0.23. I have two forums but wish to have different headers on each forum. I therefore set the following in /includes/page_header.php - so that I could call two different headers

// Parse and show the overall header.
// 1 = index header
// 2 = overall header
if ($header_choose == 1){
'overall_header' => ( empty($gen_simple_header) ) ? 'index_header.tpl' :

} else if ($header_choose == 2){
'overall_header' => ( empty($gen_simple_header) ) ? 'overall_header.tpl' :


But I need to make the differentiation between f=1 or f=2 in the root files....

I need to assign

$header_choose = 1; or
$header_choose = 2; within root files. But that has to tie up with f=1 or f=2

Can someone pls just put the last bit in the jigsaw....
Former Team Member
Posts: 6559
Joined: Mon Mar 21, 2005 6:57 pm

Re: dedicated headers for specific forums

Post by ameeck »

Support for phpBB2 is no longer provided. If you need help converting to phpBB3, please make a new topic in the 3.0.x Support forum. Thank you :)

Return to “[2.0.x] Styles Development & Discussion”