[Mailman-Users] Customize the Subscribe page and footer

Mark Sapiro msapiro at value.net
Mon Oct 10 05:14:34 CEST 2005


Randy Campbell wrote:

>I want to customize the Subscribe page and footer for a particular list on
>one of my accounts.
>When I look at the subscribe.html file, I see the fields like this:
>
>*<MM-List-Name> Subscribers*
>*<MM-Mailman-Footer>*
> But I am not able to locate this file in order to change it, I do not want
>to do a change gobally for all my accounts, just one account wants to change
>the footer.


First of all, see
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.048.htp
for information on where to store an edited version of subscribe.html
to be used by a single list.


> Can someone tell me if I can change the list footer on one account, without
>affecting my other accounts? and if so, where the heck to I find the files
>to change.


As to the other part of your question, the replacements for the <MM-*>
tags that appear in various templates are defined in the module
Mailman/HTMLFormatter.py. In particular, <MM-List-Name> is defined as
the value of the real_name attribute of the list which is just the
case-preserved list name. The <MM-Mailman-Footer> tag generates the
HTML for the web page footer that looks like

-------------------------------------------------
listname list run by owner at example.com
listname administrative interface (requires authorization)
Overview of all example.com mailing lists

Delivered by Mailman
version 2.1.5 	Python Powered 	Gnu's Not Unix
--------------------------------------------------

If you want to change this footer on one list-specific version of the
template, just remove the <MM-Mailman-Footer> tag from the template
and replace it with whatever HTML you want.

--
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