[horde] Re: Best way of Hiding preference groups

Jan Schneider jan at horde.org
Thu Apr 7 01:57:06 PDT 2005


Zitat von Edward Rudd <erudd at netfor.com>:

> I'm going through and setting up Horde 3 and am needing to lock several
> preferences and preference groups.  What is the BEST way to accomplish
> this?
>
> Should I just place locked=>true on all the preferences? or comment

Yes, that's what it is for.

> out the preference block (I'm thinking that's probably BAD as the prefs
> would then not be available).
>
> Some preferences, like the "Personal Information" section with the users
> identities I don't want them to edit that at all, but have that
> information fetched from the LDAP.  I have the two prefs hooks working for
> fetching the full name and e-mail, but I want to hide the entire personal
> information tab, but several prefs in that section are commented with "do
> not change anything".

Remove the personal information pref group from prefs.php.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the horde mailing list