[imp] Custom Options

Mike Coughlan mcoughlan@gothambroadband.com
Fri, 14 Dec 2001 12:48:35 -0500


We too will be forced to use a special perl API for filtering.  I am very
interested in seeing this.  If you have a timeline for even just sharing it,
that would be helpful.

Can you tell me what files you touched to do this?  Is the horde code now a
swiss cheese of patches, or were you able to isolate it to a few horde
files, and your new perl code?

Thanks


> -----Original Message-----
> From: Barry Flanagan [mailto:barryf-imp@digiserve.ie]
> Sent: Friday, December 14, 2001 6:48 AM
> To: imp@lists.horde.org
> Subject: Re: [imp] Custom Options
>
>
> On Friday 14 December 2001 03:17, you wrote:
> > All right, before anyone gets further off-track on this: there is a
> > preference type already in existance to handle this exact case.
> Here's an
> > example:
> >
> > $_prefs['filters_link'] = array(
> >     'type' => 'link',
> >     'url' => 'filters.php',
> >     'img' => 'filters.gif',
> >     'desc' => _("Edit my filter rules")
> > );
> >
> > (this is the link to the filters page) It's not actually a
> preference; it
> > just puts a link, with the specified description, url, and image, into
> > whatever prefgroup you put 'filters_link' in to.
>
> I was just going to sugget that. We have  used the above to hook
> in a backend
> (procmail based) filtering system to replace the IMP default one,
> making a
> frameset that includes the upper menu items in one frame and our own
> filtering system (using the IMP CSS) in the bottom frame.
>
> Works a treat.
>
> -Barry Flanagan
>
> --
> 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
>
>