[Mailman-Users] Re: Minor edits to listinfo page

Paul H Byerly paul at thcwd.com
Tue Jun 8 20:22:01 CEST 2004


On 11:00 AM 6/8/2004, mailman-users-request at python.org wrote:
>In my everlasting quest to reduce phonecalls and emails to list moderators
>I'd like to edit the text on the "Unsubscribe or edit options" button that
>is on the Listinfo page of all my mailing lists so that the button reads
>"Edit Options"
>
>Can I do this, and if so, where do I perform my edits?

      Sure.  Below is the "teach to fish" version.  Backing up files b4 you 
change them is always a good plan.

      Search for files with the text you want to change:

# grep -rl "Unsubscribe or edit options" <prefix>/local/mailman/Mailman/
<prefix>/local/mailman/Mailman/HTMLFormatter.py
<prefix>/local/mailman/Mailman/HTMLFormatter.pyc

      You want the py, as Python creates the pyc from the py file.

open HTMLFormatter.py with the editor of your choice
search for "Unsubscribe or edit options" in the file
change the text
save

restart Mailman with:
# <prefix>/bin/mailmanctl restart

<>< Paul




More information about the Mailman-Users mailing list