MAybe this can interest...
if you desires your logo links to the home page the guest and, to the member page (or to other pages) if registered and logged in, you can simply open the file inc/design.inc.php and change this function
from
function getMainLogo() {
global $dir, $site;
$sFileName = getParam('sys_main_logo');
if(!file_exists($dir['mediaImages'] . $sFileName))
return '';
return '<a href="' . BX_DOL_URL_ROOT . '"><img src="' . $site['mediaImages'] . $sFileName . '" class="mainLogo" alt="logo" /></a>';
}
to
function getMainLogo() {
global $dir, $site;
$sFileName = getParam('sys_main_logo');
if(!file_exists($dir['mediaImages'] . $sFileName))
return '';
if (isMember()) return '<a href="' . BX_DOL_URL_ROOT . 'member.php"><img src="' . $site['mediaImages'] . $sFileName . '" class="mainLogo" alt="logo" /></a>';
else return '<a href="' . BX_DOL_URL_ROOT . '"><img src="' . $site['mediaImages'] . $sFileName . '" class="mainLogo" alt="logo" /></a>';
}
We hope it can be usefully.