https://www.icyphoenix.com/viewtopic.php?f=35&t=5646&p=37772#p37772
-----------------------------------
Mighty Gorgon
Wed 01 Apr, 2009 10:46

Re: Vars To Switch Header Location Wanted If Possible
-----------------------------------
You can use this code in your overall_header to get the page name and do whatever you want with that:

[codeblock]<?php echo(basename($_SERVER['SCRIPT_NAME'])); ?>[/codeblock]

You can create a condition like this:
[codeblock]<?php
if (basename($_SERVER['SCRIPT_NAME'], '.' . PHP_EXT) == 'album')
{
?>
We are in album baby!
<?php
}
?>[/codeblock]


