Skip to Content.
Sympa Menu

en - Re: [sympa-users] Ordering of List Templates on "Create List" Tab

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Ordering of List Templates on "Create List" Tab
  • Date: Tue, 05 Jun 2012 09:58:38 +0200

Hi Amos,

Nothing about the templates is stored in DB. You're not supposed to reload it, Sympa will parse the create_list_template directory anytime it will display the create list page.

regards,

David

Le 04/06/12 20:07, Amos a écrit : Say, if you rename any of the directories listed under <sympa>/etc/create_list_templates, do you have to tell Sympa to refresh its knowledge of these templates?  Is any of this information stored in the db?


On Mon, Apr 16, 2012 at 4:58 AM, Etienne MELEARD <address@concealed> wrote:
Hi,

The list is build using filesystem order from a merge of subfolders from <sympa>/default/create_list_templates, <sympa>/etc/create_list_templates and <sympa>/etc/<virtualdomain>/create_list_templates (2 last ones may not exist).

A quick solution I think of is naming your create_list_templates sub-folders to get the ordering you want (like 0_private_working_group 1_discussion_list and 2_html-news-letter) and use create_list.conf to hide the "old" ones.

You'd better avoid altering the default templates, so copy the templates you want from <sympa>/defaults/create_list_templates to <sympa>/etc/create_list_templates (or <sympa>/etc/<virtualdomain>/create_list_templates if you just want this order for one virtual domain), change their names and update the corresponding create_list.conf.

Hope that helps !

Cheers,

Etienne MELEARD


Le 16/04/12 03:30, address@concealed a écrit :

In the "Create a list using a template" section of the "Create List" tab, we
currently have the following List Types available for selection:

* Public discussion mailing list
* Mailing list configuration to be used for a news letter providing both text
plain and HTML formats
* Private working group setup

We would like to change the order so that the "Private Working Group Setup" is
displayed first, then the public option, and then finally the HTML newsletter,
i.e.

* Private working group setup
* Public discussion mailing list
* Mailing list configuration to be used for a news letter providing both text
plain and HTML formats

Is the above possible ?  I tried looking into the documentation for
"create_list.conf", but couldn't see how to change the ordering.

Thanks,

Patrick Rynhart






Archive powered by MHonArc 2.6.19+.

Top of Page