Skip to Content.
Sympa Menu

devel - Re: [sympa-dev] patch to make custom form fields available for web-based

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Serge Aumont <address@concealed>
  • To: Philip Crandall <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-dev] patch to make custom form fields available for web-based
  • Date: Fri, 06 Feb 2009 16:28:15 +0100

Philip Crandall wrote:
>
> Hello,
>
> I have a need to use custom form fields in the web list creation
> process (bin/etc/web_tt2/create_list_request.tt2). You can supply
> custom fields in an xml file passed to sympa.pl, but the only fields
> available for web-based creation are the existing ones.
>
>
>
> An example of a use case I have for this is allowing users to provide
> an ldap group that is then built into a datasource in the config.tt2
> list creation template so that the user does not have to provide all
> ldap settings and we do not have to provide them in the data sources
> admin (i.e. we would only expose the group name and they could remove
> the group by deleting the group name and saving the config).
>
>
>
Hi

The following patch :
http://sourcesup.cru.fr/cgi/viewvc.cgi/trunk/wwsympa/wwsympa.fcgi?r1=5488&r2=5490
will do it in the way describe here :
http://www.sympa.org/manual/list-creation#customize_create_list_request.tt2

This patch should be very easy to apply in any version.

Serge Aumont




Archive powered by MHonArc 2.6.19+.

Top of Page