Re: Hide empty app prefs in menu

Ralf Lang <[email protected]>
Newsgroups gmane.comp.horde.devel
Message-ID <[email protected]>
On 28.08.2014 17:43, Michael M Slusarz wrote:
> Quoting Ralf Lang <[email protected]>:
> 
>> 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: [email protected]
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlP/VJ4ACgkQCs1dsHJ/X7AVJgCfc2hAyd2VdqMltQ8D4XC/YGRb
8z4AnjUW/+UA7Xs5tqSP8DnWf0ICUgLQ
=BZpE
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.