
Re: Vars To Switch Header Location Wanted If Possible
Thanks Luca,
I'll have a stumble through it tomorrow.
But so that we are not confused about the small thing I want to do, I'm trying to use IP only as a forum without all of the CMS attributes and overhead.
Just simple stuff that would appeal to lot of people who only want a simple "Forum" though all of the other options would still be there.
And all I really want to do is to have the simplest way to change these banners, and possibly any other "location" script without having to add or modify anything. So maybe it's something that could be added as default vars to IP.
Here are two examples of why I would like to change the banners to something that reflects where one is.
h**p://***.lopalong.com/forum/crosswords_index.php
h**p://***.lopalong.com/forum/smilies_index.php
Update:
Thanks again, because it works a treat.
Only I found it didn't need
<?php echo(basename($_SERVER['SCRIPT_NAME'])); ?>
and I assume that has already been echoed previously.
The other thing is, it's more functional with "else" arguments, because with "else" one can not only swap the banners, but the logo's too.
I also don't know if there's any value in writing an example doc for this, because of the variations to different headers, and different arguments for every <?php anchor and .css markup.
And I've spent hours hunting the web for anything on how to add "?mode=page1" etc. Found a lot of stuff - Tried a lot of stuff - Nothing worked! - But then again, no-one else uses PHP_EXT constants either!
So is it possible to add ?mode= too?
Edited by
Guest, Thu 02 Apr, 2009 09:08: Add Update
Edited by
Guest, Wed 13 May, 2009 20:06: Changed the url's