View Full Version : Different headers fore scripts
Scormen
01-25-2007, 05:08 PM
Hi,
I would like to know if the following is possible:
Is it possible to have different headers at different pages (scripts), like:
- portal
- forum
- blogs
- register
- etc.
Is there already a script fore this, or is there anyone who can script one?
Thanks,
Kris
Zachariah
01-25-2007, 05:40 PM
There are a many ways this can be done.
- Plugins
- Template edits
Have you thought of full style changes per section (images, colors, design, menus, ect), or are you looking at just header image per subject change?
Scormen
01-25-2007, 05:46 PM
Thanks fore your reaction, Zachariach.
It doesn't matter how it will be done. It just must recognize the "script" pages.
- If the user is at the portal (site.com/index.php), he see header 1
- If the user is at the forums (site.com/forum.php), he see header 2
- If the user is at the blogs (site.com/blogs), he see header 3
- Etc ....
No, I don't mean full style changes, only the header images.
Thanks,
Kris
Adrian Schneider
01-25-2007, 05:59 PM
Try this,<if condition="THIS_SCRIPT == 'adv_index'">
header for index.php
</if>
<if condition="THIS_SCRIPT == 'index'">
header for forum.php
</if>
<if condition="defined('IN_BLOGS')">
header for blogs
</if>
Scormen
01-25-2007, 07:35 PM
That is what I was looking for, SirAdrian!
Thank you :)
Kris
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.