[commits] [Wiki] changed: CustomizeMenu

Wiki Guest wikiguest at horde.org
Thu Feb 6 22:17:39 UTC 2014


guest [95.168.128.214]  Thu, 06 Feb 2014 22:17:39 +0000

Modified page: http://wiki.horde.org/CustomizeMenu
New Revision:  10
Change log:  update to use the 'link' type

@@ -18,9 +18,20 @@
  </code>

  The chores-menu will only be displayed if either nag or whups are  
available and active. You can also add an 'url' parameter to a  
'heading' to make it clickable. Unfortunately, headings which have no  
apps below them will not be shown.

-To work around this, register your links as apps.
+Horde 5.1 adds 'link' items which allow proper external URLs
+
+<code type="php">
+<?php
+/* Example registry.local.php file*/
+$this->applications['mywebsite'] =
+array('name' => 'Website', 'status' => 'link', 'url' =>
+'http://www.ralf-lang.de', 'menu_parent' => 'others', 'target' => '_new');
+</code>
+
+
+Prior to Horde 5.1 you can use a workaround: Register your links as apps.

  <code type="php">
  // Custom Menus
    'intranet' => array(
@@ -39,8 +50,10 @@
    ),

  </code>
  This has a side effect though. The new pseudo app will show a  
useless entry in the "preferences" menu.
+
+


  + Customizing menus in Horde 3 and 4




More information about the commits mailing list