Re: Hide empty app prefs in menu

Michael M Slusarz <[email protected]>
Newsgroups gmane.comp.horde.devel
Message-ID <20140828110739.Horde._NLEJ8N7XPdnAwfaJj3Jlw1@bigworm.curecanti.org>
Quoting Ralf Lang <[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.

It can change on the fly.  That's exactly the issue.

michael

___________________________________
Michael Slusarz [[email protected]]

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
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.