[Mailman-Users] Changes to archive templates have no effect

2014-05-06 Thread Henrik Rasmussen
I am running Mailman version 2.1.12.

When I change my templates in /usr/lib/mailman/templates/site/da/ (like 
admlogin.html) I see the changes taking effect (immediately, even though I 
didn't restart Mailman), but any changes I make to the Archive templates 
located in the same directory doesn't seem to have any effect.

According to /usr/lib/mailman/Mailman/Archiver/HyperArch.py line 799 Mailman 
uses archtoc.html in case of a Private list or archtocnombox.html in case of a 
public list. The changes doesn't take effect regardless of whether the list is 
private or public. But I'm not sure if this the decision is made from the 
default (PUBLIC_MBOX) variable in the mm_cfg.py or Default.py files since the 
HyperArch.py file refers to the mm_cfg.

To debug, I tried make a change in the default /usr/lib/mailman/templates/da/ 
archtoc.html file, but this does not have any effect either.

Changing the archliststart.html, archlistend.html, archtocentry.html, 
archidxfoot.html, archidxhead.html have no effect either.

I did remember to restart Mailman both (just in case) using service mailman 
restart and mailmanctl restart.

Henrik Rasmussen h...@adm.ku.dk
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Changes to archive templates have no effect

2014-05-06 Thread Mark Sapiro
On 05/06/2014 02:04 AM, Henrik Rasmussen wrote:
 
 When I change my templates in /usr/lib/mailman/templates/site/da/ (like 
 admlogin.html) I see the changes taking effect (immediately, even though I 
 didn't restart Mailman), but any changes I make to the Archive templates 
 located in the same directory doesn't seem to have any effect.


The archives are static HTML pages built using the templates that were
in effect when they were built. The table of contents and the current
index pages will be rebuilt when a new message is archived, but the
older index pages and the archived message pages will never be rebuilt.

If you want to update the entire archive to use your new templates, you
have to rebuild it with bin/arch --wipe for each list.

You may also be interested in the script at
http://www.msapiro.net/scripts/update_archive_mtime

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org