Subject: The mailing list for listmasters using Sympa
List archive
- From: David Mayo <address@concealed>
- To: address@concealed
- Subject: [sympa-users] List templates
- Date: Mon, 18 Jun 2007 11:31:00 +0100
Hi guys,
I have spotted what appears to be an undocumented feature to Sympa lurking
in the create_list_request.tt2 file and I would like to know how to use it.
The line is this:
[% IF template.value.selected %]
checked="checked"
[% END %]
(bigger snippet in [1])
This implies to me there is a way of making one of the list templates
selected by default. How can I specify this?
As an interesting side note, at a meeting we had here recently before
launching this new service, it was decided that we give the users as few
choices as possible. We started off with about 6 templates but felt that
users would not be interested in reading all the choices before making a
decision. We've now only got two choices - a standard list, using some
sensible defaults, and a list that can be attached to one of our LDAP
groups.
It would also be nice to be able to put these templates in order and give
them 'friendly' names rather than the name of the directory the template is
stored in. I will submit a feature request for these though...
Regards,
Dave.
David Mayo
Networks/Systems Administrator
University of Bath Computing Services
Tel: 01225 38 6046
Email: address@concealed
[1] Bigger snippet from create_list_request.tt2
[% FOREACH template = list_list_tpl %]
<li>
<dl>
<dt>
<input type="radio" name="template" value="[% template.key %]"
[% IF template.value.selected %]
checked="checked"
[% END %]
/> [% template.key %]
</dt>
[% IF template.value.comment %]
<dd>
[% PROCESS $template.value.comment %]
</dd>
[% END %]
</dl>
-
[sympa-users] List templates,
David Mayo, 06/18/2007
- [sympa-users] Re: List templates, Olivier Salaün - CRU, 06/19/2007
Archive powered by MHonArc 2.6.19+.