main logo linking

hey all,

i've searched through many of the php files but have come up empty handed.  i am trying to change the link of the main logo for my site, however the admin site only allows me to upload a different image, not change the actual url, and my file searching obviously isn't up to par.

any tips/help would be appreciated, tia, k

Quote · 30 May 2008

inc/design.inc.php

function getMainLogo()
{
global $dir;
global $site;

$ret = '';

foreach( array( 'gif', 'jpg', 'png' ) as $ext )
if( file_exists( $dir['mediaImages']."logo.$ext" ) )
{
$ret .= '<a href="' . $site['url'] . '">';
$ret .= "<img src=\"{$site['mediaImages']}logo.$ext\" class=\"mainLogo\" alt=\"logo\" />";
$ret .= '</a>';
break;
}
return $ret;
}

change:

' . $site['url'] . '

to:

http://www.site.com

have fun...dont break anything

I have video tutorials to help you mrpowless.com
Quote · 30 May 2008

thanks mrpowless.  much appreciated!

Quote · 30 May 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.