[dev] Hide empty app prefs in menu

Ralf Lang lang at b1-systems.de
Thu Aug 28 16:11:10 UTC 2014


On 28.08.2014 17:43, Michael M Slusarz wrote:
> Quoting Ralf Lang <lang at b1-systems.de>:
> 
>> On 28.08.2014 14:00, Lukas Weiss wrote:
>>> hi,
>>>
>>> in the user preferences menu there are listed all installed apps.
>>> is it possible to hide those which do not have any configured prefs?
>>>
>>> i get this notification for the passwd app und my own module:
>>> "There are no preferences available for this application."
>>>
>>> thank you!
>>>
>> Not currently, afaik. Please create an enhancement ticket in
>> http://bugs.horde.org
> 
> This most likely won't be implemented.  It would require us to parse
> every preference from every active application on every page (and this
> data can't be cached).  That's a recipe for terrible performance.
> 
> michael

If this is the case, then yes it's not worth it. I just don't see why we
cannot add an attribute in registry or something similar or why an app
not having settings can't be cached - This won't change on the fly.

There are not many apps without prefs though.

-- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.horde.org/archives/dev/attachments/20140828/5588256b/attachment.bin>


More information about the dev mailing list