[Mailman-Users] Editing confirm page

Jim Tittsler jwt at onjapan.net
Sun May 8 03:02:05 CEST 2005


On May 8, 2005, at 06:16, Daya Baran wrote:

> If you edit confirm.py - you get this message "Bug In Mailman"

You must have made a mistake editing the script so that it was no  
longer a valid Python program.

> I had to reinstall mailman

If you had just been making changes to the one file, you could have  
just copied the backup of your confirm.py before you started making  
changes.

> I would like to change the following:

> 2) remove "Recieve digests?  Yes or No

You don't need to make any programming changes to remove that.  If  
you don't want to support digests, simply set 'digestable' to No on  
the Digest options page of the administrative web interface, and it  
will not appear on the confirm web page.

> 3) prefered language

If you only allow one language on the "Language options" page of your  
administrative interface, the selection box still appears, but the  
user will not be able to change the language.  If you want to  
eliminate the selection appearing, you will have to change confirm.py  
to comment out the table.AddRow() where it gets added to the page.

> 1) header and footer
> 4) Cancel my subscription

These also would take modifications to confirm.py (and possibly to  
Mailman/htmlformatter.py depending upon the level of changes you want  
to make to the header and footer).  You can change some of the colors  
in your mm_cfg.py (see the WEB_* variables in Defaults.py).



-- 
Jim Tittsler     http://www.OnJapan.net/      GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/crew/jwt/
Mailman IRC      irc://irc.freenode.net/#mailman






More information about the Mailman-Users mailing list