dolphin userbar

hi all im running dolphin 7.0.2 and im wondering how i can add icons for links to the bottom user bar this is the bar that has the log off friends and so on icons at the very bottom of the page . i want to add some icons and links down there for other pages ........ any help would be appreciated thanks

Quote · 24 Jan 2011

1. Open the - templates\base\extra_bottom_menu.html

and add this string : <img src="__img__" />

after : <span>

 

2. Open the templates/base/scripts/BxBaseFunctions.php

 

find these code lines:

 

$aLinks[] = array(
'menu_caption'         => ($aItems['Caption']),
'menu_link'             => ( $aItems['Script'] ) ? 'javascript:void(0)' : $oPermalinks -> permalink($aItems['Link']),
'extended_action'     => ( $aItems['Script'] ) ? 'onclick="' . $aItems['Script'] . '"' : null,
'target'             => ( $aItems['Target'] ) ? 'target="_blank"' : null,
);

 

and replace with :

 

$aLinks[] = array(
'menu_caption'         => ($aItems['Caption']),
'menu_link'             => ( $aItems['Script'] ) ? 'javascript:void(0)' : $oPermalinks -> permalink($aItems['Link']),
'extended_action'     => ( $aItems['Script'] ) ? 'onclick="' . $aItems['Script'] . '"' : null,
'target'             => ( $aItems['Target'] ) ? 'target="_blank"' : null,
'img' =>  $aItems['Icon']
? $GLOBALS['oSysTemplate']->getIconUrl($aItems['Icon'])
: $GLOBALS['oSysTemplate']->getIconUrl('spacer.gif')
);

 

2. Open the `sys_menu_bottom` table via your phpmyadmin and add some name of icons to `Icon` field!

3. Clear all caches!

 

PS. All you added icons must be stored in : templates\base\images\icons

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 24 Jan 2011
 
 
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.