[ mailman-Patches-834357 ] Allow list templates for archives

SourceForge.net noreply at sourceforge.net
Sat Nov 1 19:45:47 EST 2003


Patches item #834357, was opened at 2003-11-02 01:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=834357&group_id=103

Category: Pipermail
Group: Mailman 2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Nicolas Barcet (nbarcet)
Assigned to: Nobody/Anonymous (nobody)
Summary: Allow list templates for archives

Initial Comment:
The template mechanism currently does not work in
HyperArchiver : 

It is not possible to modify specifically the template
for a given site in the archive template (placing a
list specific template in
/var/lib/Mailman/lists/<listname>/<lang>/ because of a
small bug in Mailman.Archiver.HyperHarch.

To fix it modify
/usr/lib/mailman/Mailman/Archiver/HyperArch.py, in
function quick_maketext, change line 175:

        template = Utils.maketext(templatefile,
lang=lang, raw=1)

into:

        template = Utils.maketext(templatefile,
lang=lang, raw=1, mlist=mlist)

And it works...
Nick

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=834357&group_id=103



More information about the Mailman-coders mailing list