[imp] custom prefs/ session question

Jan Schneider jan at horde.org
Thu Dec 5 17:01:50 2002


Zitat von Ben Wilson <bwilson@networkservices.net>:

> Hi,
>   I'm trying to add a section to the "Options" menu that lets
> uses change their account info in the MySQL database that my
> Courier server authenticates with. The "hooks" work great, and I
> can pull there name, email, aliases from it OK.
> 
>   What I have done is added an account section to the
> $prefGroups array, set $_prefs to "special" and created a short
> form in templates/prefs/ to update the user info.
> 
>   The problem I have is how do I get the values submitted when
> "Save Settings" is clicked? I am pretty new to PHP, and trying
> to fit all of Horde into my head at once hurts :)

This is done in imp/prefs.php. Look for the UPDATE_PREFS/'special' section
and enter your own case section similar to the existing ones. Assuming
you're using IMP 3.x.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the imp mailing list