Skip to Content.
Sympa Menu

en - [sympa-users] Re: Create own task

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Yves BLUSSEAU" <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] Re: Create own task
  • Date: Wed, 20 Jun 2007 12:25:59 +0200

Hi,
it answer partialy to my question. I want to add something in the config.tt2
file so when the list is instanciate a task (of my own) will be created for
that list. I put the model of my list in the etc/list_task_model. BUT :)

You write:
In the list configuration file, you must define the model and version of
the task you want to create. Therefore, you can introduce it into you
config.tt2 for the list model concerned.

Can you give me an example, because i don't know what to put in the
config.tt2 file for that.

Thanks in advance.
Yves

----- Original Message -----
Yves ........ a écrit :
Hi,

How can i create my own task when a new list is created ?

Are there some parameters in the config file ?

Thanks in advance.
Yves ........

Hi,

Do you want to automatically create a task when a list is created by modifying the config.tt2 used to create it?
In the list configuration file, you must define the model and version of the task you want to create. Therefore, you can introduce it into you config.tt2 for the list model concerned.

Thereafter, tasks must be added into the relevant directory (being etc/list_task_models/ or expl/<listname>/) to be gathered by the task manager.
If you want a task to be applied to any list in a server or host, you must add this task to the "list_task_models/" of etc/ (for the server) or etc/<hostname>/ (for a virtual host). This way, anytime you create a list in this server or host, it will inherit this task.

Does it answer your question or am I far from your needs?

Regards,

--
David Verdin
Comité réseau des universités






Archive powered by MHonArc 2.6.19+.

Top of Page