Old-Git
07-20-2012, 10:43 AM
Hi Guys,
a quick question to ask if it's possible to force a cloned copy of forum.php to load a different header image. Maybe this isn't even remotely possible but I thought I'd ask just to be certain. Here's what I'm doing and what I'd like to do, If at all possible.
1.) create a Category-type forum with several subforums beneath it but make it hidden by setting 'Forum is Active' to no. Lets call this category forum 'Archives'
2.) clone forum.php and rename it to archives.php. Edit 'This Script' to say 'archives' and edit VB_ENTRY to say 'archives.php.
3.) use Navigation manager to create a New Nav tab and set the the target url for this to archives.php?f=xx (where xx is the id number for the Archive forum.)
So far so good and everything works as it should do. The Archive category and forums appear below the header info as it should do and everythng looks and behaves exactly as my normal forums do.
But is it possible to force this cloned forums.php to load a different header image so that I can tell at a glance that I'm on a different area of the forums? Some form of over-ride switch that calls the header info in a different manner, or from a different source, maybe from a static file?
Thanks in Advance
Pete
a quick question to ask if it's possible to force a cloned copy of forum.php to load a different header image. Maybe this isn't even remotely possible but I thought I'd ask just to be certain. Here's what I'm doing and what I'd like to do, If at all possible.
1.) create a Category-type forum with several subforums beneath it but make it hidden by setting 'Forum is Active' to no. Lets call this category forum 'Archives'
2.) clone forum.php and rename it to archives.php. Edit 'This Script' to say 'archives' and edit VB_ENTRY to say 'archives.php.
3.) use Navigation manager to create a New Nav tab and set the the target url for this to archives.php?f=xx (where xx is the id number for the Archive forum.)
So far so good and everything works as it should do. The Archive category and forums appear below the header info as it should do and everythng looks and behaves exactly as my normal forums do.
But is it possible to force this cloned forums.php to load a different header image so that I can tell at a glance that I'm on a different area of the forums? Some form of over-ride switch that calls the header info in a different manner, or from a different source, maybe from a static file?
Thanks in Advance
Pete