[imp] Custom menu links via menu.php - or registry.local.php?
Brett Charbeneau
brett at wrl.org
Thu Feb 6 19:31:13 UTC 2014
Can anyone possiblly give me a nudge in the right direction here?
We would like to add a menu link to IMP that points to a local
FAQ we are maintaining for our users.
The Horde wiki has an entry
http://wiki.horde.org/FAQ/Admin/Config#toc5
which suggests a modification of the
/horde/componentname/config/menu.php file, which I interpret as
imp/config/menu.php. I've read the comments in menu.php and I added
the following code to imp/config/menu.php, but the menu remains
unchanged:
$_menu[] = array(
'url' => 'FAQ/',
'text' => 'FAQ',
'icon' => 'QA.gif',
'icon_path' => 'https://webmail.wrl.org/FAQ',
'target' => '_blank'
);
I found another wiki entry
http://wiki.horde.org/CustomizeMenu
which appears to indicate that a registry.local.php needs to be
created and additional code entered there. So I created a file by that
name and entered the code below, but still no joy.
// Custom Menus
'questions' => array(
'name' => _("Questions?"),
'status' => 'heading',
),
'faq' => array(
'webroot' => FAQ/',
'name' => _("FAQ"),
'status' => 'active',
'target' => '_blank',
'menu_parent' => ' Questions?',
'fileroot' => '/tmp',
'icon' => ' QA.gif'
),
--
********************************************************************
Brett Charbeneau
Network Administrator
Williamsburg Regional Library
7770 Croaker Road
Williamsburg, VA 23188-7064
(757)259-4044 www.wrl.org
(757)259-4079 (fax) brett at wrl.org
********************************************************************
More information about the imp
mailing list