[Mailman-Users] Customization of results. add, del user etc

Richard Barrett r.barrett at openinfo.co.uk
Mon Sep 27 19:40:51 CEST 2004


On 27 Sep 2004, at 16:18, Mark Sapiro wrote:

> Jens Andersson wrote:
>
>> Is it possible to customize all results in the latest release?
>> Today we're running 2.1.3.
>>
>> In our release we can only change:
>>
>> General list information page
>> Subscribe results page
>> User specific options page
>
> 2.1.5 is the same as far as editing via web administration on a
> per-list basis.
>
> Other changes require editing the templates in the templates/[locale]
> directory and apply site-wide, not per-list, or require hacking the
> Python code.
>

You absolutely should not edit the files in the templates/<language>/ 
directories. During a Mailman update the contents of default language 
directories will be overwritten and any changes will be lost. However, 
the site, host and list template directories are left intact during an 
update.

Revised copies of templates from the templates/<language>/ directories 
should be placed in these list, virtual host or site specific 
directories which are searched in the following order:

# 1. the list-specific language directory
#    lists/<listname>/<language>
#
# 2. the domain-specific language directory
#    templates/<list.host_name>/<language>
#
# 3. the site-wide language directory
#    templates/site/<language>
#
# 4. the global default language directory
#    templates/<language>

Unfortunately, not all Mailman pages are fully generated from templates 
and some code hacking may be required for those pages, but typically 
this will affect all lists.

> --
> Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list