Hey Dirk,
php amateur here. Looking for instructions directed to same. I found the aforementioned location in the lib-custom.php file regarding adding custom menu entries but my understanding of the code precludes implementation. Running Geeklog 2.1.0 and wish to move my admin menu from a sidebar block to the main menu. Guessing this is an easy answer for you?
Here's the code so you don't have to look it up:
function CUSTOM_menuEntries ()
{
global $_CONF, $_USER;
$myentries = array ();
// Sample link #1: Link to Gallery
$myentries[] = array ('url' => $_CONF['site_url'] . '/gallery/',
'label' => 'Gallery'

;
// Sample link #2: Link to the Personal Calendar - only visible for
// logged-in users
if (!empty ($_USER['uid']) && ($_USER['uid'] > 1)) {
$myentries[] = array ('url' => $_CONF['site_url']
. '/calendar/index.php?mode=personal',
'label' => 'My Calendar'

;
}
return $myentries;
}
Thanks much,
~Bob