<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Complete the options sidebar with configurable applications</title> 
  <pubDate>Fri, 10 Apr 2026 19:28:18 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/1058</link> 
  <atom:link rel="self" type="application/rss+xml" title="Complete the options sidebar with configurable applications" href="https://bugs.horde.org/ticket/1058/rss" /> 
  <description>Complete the options sidebar with configurable applications</description> 
 
   
   
  <item> 
   <title>The UI for changing the options for (for example) IMP when i</title> 
   <description>The UI for changing the options for (for example) IMP when installed in Horde is quite difficult to find. One either has to click on the Mail on the left sidebar and then Options on the top menu, or on the Options on the left sidebar and then select the appropriate application in a combo box.



Took me 2 hours to find! :-)



This little patch simply puts those applications configurable through horde as children element of the &quot;Options&quot; menu in the left sidebar, and making them easier to find for unexperienced users.



--- services/portal/sidebar.php.orig    2005-01-03 16:14:04.720035864 +0000

+++ services/portal/sidebar.php 2005-01-03 16:13:24.556141704 +0000

@@ -151,6 +151,41 @@

                                  &#039;status&#039; =&gt; &#039;active&#039;,

                                  &#039;icon&#039; =&gt; $registry-&gt;getImageDir() . &#039;/prefs.png&#039;,

                                  &#039;url&#039; =&gt; Horde::applicationUrl(&#039;services/prefs.php&#039;));

+

+        /* Get list of customizable applications. */

+        $apps = array();

+        foreach ($registry-&gt;applications as $application =&gt; $params) {

+            if ($application == &#039;horde&#039;) {

+                continue;

+            }

+

+            // Make sure the app is installed

+            if (!file_exists($registry-&gt;get(&#039;fileroot&#039;, $application))) {

+                continue;

+            }

+

+            if ($params[&#039;status&#039;] == &#039;heading&#039; ||

+                $params[&#039;status&#039;] == &#039;block&#039;) {

+                continue;

+            }

+

+            /* Check if the current user has permisson to see this

+             * application, and if the application is active.

+             * Administrators always see all applications. */

+            if ((Auth::isAdmin() &amp;&amp; $params[&#039;status&#039;] != &#039;inactive&#039;) ||

+                ($registry-&gt;hasPermission($application) &amp;&amp;

+                 ($params[&#039;status&#039;] == &#039;active&#039; || $params[&#039;status&#039;] == &#039;notoolbar&#039;))) {

+                $apps[$application] = _($params[&#039;name&#039;]);

+            }

+        }

+

+       foreach ($apps as $key =&gt; $val) {

+            $menu[&#039;options_&#039; . $key] = array(&#039;name&#039; =&gt; _($val),

+                                             &#039;status&#039; =&gt; &#039;active&#039;,

+                                             &#039;menu_parent&#039; =&gt; &#039;options&#039;,

+                                             &#039;icon&#039; =&gt; $registry-&gt;get(&#039;icon&#039;, $key),

+                                             &#039;url&#039; =&gt; Horde::applicationUrl(&#039;services/prefs.php?app=&#039; . $key));

+       }

     }

 

     if (Auth::isAuthenticated()) {

</description> 
   <pubDate>Mon, 03 Jan 2005 16:21:15 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1058#t4097</link> 
  </item> 
   
  <item> 
   <title>Nice idea.</title> 
   <description>Nice idea.</description> 
   <pubDate>Mon, 03 Jan 2005 17:06:48 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1058#t4101</link> 
  </item> 
   
  <item> 
   <title>I&#039;ve tweaked the code a little, sorted apps alphabetically, </title> 
   <description>I&#039;ve tweaked the code a little, sorted apps alphabetically, and committed it. Thanks! This will be in Horde 3.1.</description> 
   <pubDate>Mon, 10 Jan 2005 20:08:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1058#t4359</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
