edit cb.menu.php and search for:
//
EDIT MENU
after:
[code:1] "<img src=\"".$adminimagesdir."delavatar.gif\" alt='' />","", _UE_MENU_DELETE_AVATAR_DESC,""«»);[/code:1]
add this for example:
[code:1]
// Jump to bottom:
if ($my->id == $user->id) {
$mi = array(); $mi["_UE_MENU_EDIT"]["_UE_JUMPTOBOTTOM"]=null;
$this->menuBar->addObjectItem($mi, _UE_JUMPTOBOTTOM,sefRelToAbs($ue_jumptobottom), "",
"<img src=\"".$adminimagesdir."updateprofile.gif\" alt='' />","", _UE_MENU_UPDATEPROFILE_DESC,""«»);
}[/code:1]
then have a look some lines above and search for:
[code:1] $adminimagesdir = "components/com_comprofiler/images/";
[/code:1]
and after that line add this for example:
[code:1] $ue_jumptobottom = $ue_base_url."#bottom"; // Jump to bottom
[/code:1]
note: if you want to use my example, you need to add this line to your footer (or at the end of your index.php) of you joomla template:
[code:1]<span id="bottom"></span>[/code:1]
and you need to define _UE_JUMPTOBOTTOM in your language file
I used this to give people a link to the profile gallery
Post edited by: bzn, at: 2006/06/06 17:14