Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 08:36 am EST
Geeklog Forums
Custome Header Homepage
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
GL supports having a custom function to be used instead of the default COM_siteHeader function in lib-common. It's dependant on the theme selected and if a function exists then it will be used - as seen by this code snippet at the top of COM_siteHeader()
$function = $_CONF['theme'] . '_siteHeader';
if( function_exists( $function ))
{
return $function( $what );
}
You would then have to add logic to detect the page and if this is index.php and on the homepage ... etc ..
Geeklog components by PortalParts -- www.portalparts.com
Text Formatted Code
$function = $_CONF['theme'] . '_siteHeader';
if( function_exists( $function ))
{
return $function( $what );
}
You would then have to add logic to detect the page and if this is index.php and on the homepage ... etc ..
Geeklog components by PortalParts -- www.portalparts.com
11
8
Quote
All times are EST. The time is now 08:36 am.
- 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