[dev] (Horde::showService('options'))
Myke Place
mp at xmission.com
Sat Feb 26 13:58:58 PST 2005
I'm running Horde: 3.0.3
In order to remove the Options button from the sidebar, I'm attempting
to edit services/portal/sidebar.php in the following block (lines
149-154):
if (Horde::showService('options')) {
$menu['options'] = array('name' => _("Options"),
'status' => 'active',
'icon' => $registry->getImageDir() .
'/prefs.png',
'url' =>
Horde::applicationUrl('services/prefs.php'));
}
I set status=>'notoolbar' and the options menu continues to show on the
toolbar. In fact, setting it to anything other than active seems to have
no effect. If there is another setting to disable the main Horde options
in the sidebar panel, I haven't found it.
If this is inded the preferred way, instead of commenting out the whole
block as I have had to do, shouldn't setting 'status' => 'notoolbar'
should do the trick? Either that, or an entry in the registry to do this
would be handy.
Apologies if this should be set to users@ instead of dev@
-mp
More information about the dev
mailing list