[commits] [Wiki] changed: CustomizeMenu

Wiki Guest wikiguest at horde.org
Tue Dec 20 07:07:46 UTC 2011


guest [14.139.158.62]  Tue, 20 Dec 2011 07:07:46 +0000

Modified page: http://wiki.horde.org/CustomizeMenu
New Revision:  7
Change log:  Horde 4 changes required for Customising Menu

@@ -32,4 +32,26 @@
   'icon' => '',
  );
  </code>
  This adds a top-level menu entry with the link text "Intranet Links"  
and a sub link to {{https://www.example.com}} to your sidebar. We also  
set the {{'icon'}} value to an empty string. This is to keep the  
browser from loading an icon from a default location, creating a lot  
entries in your web server's error log. If you put an icon with a size  
of 16x16 pixel somewhere on your web server, you can put the (web)  
location into the {{'icon'}} value, and it will be displayed in the  
menu.
+
+
+Following works in Horde 4.
+<code type="php">
+// Custom Menus
+  'intranet' => array(
+      'name' => _("Intranet Links"),
+      'status' => 'heading',
+  ),
+
+  'xyz' => array(
+      'webroot' => 'http://applications.horde.org/',
+      'name' => _("Application 1"),
+      'status' => 'notoolbar',
+      'target' => '_blank',
+      'menu_parent' => 'intranet',
+      'fileroot' => '/tmp',
+      'icon' => ''
+  ),
+
+</code>
+



More information about the commits mailing list