[Mailman-Users] <MM-Mailman-Footer> is not expanded when used in site/en/archidxfoot.html

Tim Bell Tim.Bell at Sun.COM
Sat Oct 6 22:33:30 CEST 2007


I am running mailman-2.1.9 on Solaris 10.  I want the Pipermail archive
pages to have same footer as the other mailman pages.  This is defined by
MailmanLogo() in Mailman/htmlformat.py via GetMailmanFooter()
in HTMLFormatter.py.

As described in the FAQ [1], I set up templates/site/en/ and I am making
my changes there.  My change is to add the standard footer used in other
templates:

% diff ../../en/archidxfoot.html archidxfoot.html
17a18,19
> <MM-Mailman-Footer>
>      <hr>

When I run 'bin/arch --wipe <listname>' the pages are regenerated
with a literal '<MM-Mailman-Footer>', and not the expanded text
as I expected, for example in subscribe.html.  This tells me that
my modified archidxfoot.html was discovered and read (good), but
the expected keyword expansion did not happen.  Puzzling.

Are the arch*.html files processed differently than the other templates
such as subscribe.html?  I see the expected footer on pages generated
from subscribe.html, and changes I make in MailmanLogo() show up.


Thanks for any pointers, relevant doc pages, or ... - Tim Bell

[1] http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.048.htp




More information about the Mailman-Users mailing list