[imp] Custom Options
Jan Schneider
jan@horde.org
Thu, 13 Dec 2001 23:13:19 +0100
Zitat von Mike Coughlan <mcoughlan@gothambroadband.com>:
> We have been asked to add custom entries to the IMP "Options". I've
> added
> the following lines to horde/imp/conf/prefs.php, and I see it appear as
> an
> option:
>
> $prefGroups['sms'] = array(
> 'column' => _("Your Information"),
> 'label' => _("SMS Forwarding"),
> 'desc' => _("Set your sms Prefs."),
> 'members' => array('sms')
> );
>
> However, the implementation of
> http://my.web.server/horde/imp/prefs.php?group=sms eludes me.
It depends on what you want to be entered there. If you just want to
provide an text field to enter a mobile number, all you have to add to
config/prefs.php is something like:
$_prefs['sms'] = array(
'value' => '',
'locked' => false,
'shared' => false,
'type' => 'text',
'desc' => _("Enter your mobile number:")
);
> Is it safe to assume that adding this "pref" and the necessary php code
> would mean branching IMP? It is even possible to add it here because we
What do you mean by "branching"? Do you mean "breaking"?
> are
> not really out to effect horde_prefs, and that code seems to want to do
> only
> that? Finally, is this a common addition, or do most people simply
> effect
> /imp/conf/menu.php and add another icon & link?
>
> Our UI guys really want the former. Our engineering folks prefer the
> latter,
> but not necessarily for the right reasons.
>
> TIA
>
>
> --
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>
>
Jan.
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::