Welcome to Geeklog, Anonymous Wednesday, February 05 2025 @ 11:48 pm EST
Geeklog Forums
multiple header
Status: offline
stevelucky
Forum User
Junior
Registered: 05/25/05
Posts: 17
is there anyway to have multiple headers? i have a client that wants to have a different header for each page. the navigation and everything will stay the same, they just want a different image for the header. they're going to have mostly static pages.
14
10
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You can use PHP code in header.thtml. And the theme can even override the entire COM_siteHeader function if you have a function named, e.g., professional_siteHeader (replace "professional" with the name of your theme) in the theme's functions.php
bye, Dirk
bye, Dirk
11
12
Quote
Status: offline
stevelucky
Forum User
Junior
Registered: 05/25/05
Posts: 17
okay. this is great to know that this is possible. but i'll be honest and say that i'm still not quite sure about how to go about doing this. is there anywhere that you can point me that will give me a little more specifics?
13
12
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
As Dirk noted, you can take full control over the siteheader by tweaking the theme header.thtml, adding some php if the need for dynamic change is small or replace the COM_siteHeader function with a custom function that is theme specific.
This site is a project I did for a client and clicking on a colored tab effects the overall site template such as all the links change to match the selected tab color. It uses a custom COM_siteHeader function.
Geeklog components by PortalParts -- www.portalparts.com
This site is a project I did for a client and clicking on a colored tab effects the overall site template such as all the links change to match the selected tab color. It uses a custom COM_siteHeader function.
Geeklog components by PortalParts -- www.portalparts.com
9
13
Quote
All times are EST. The time is now 11:48 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content