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

Thanks as always,
-Brendan

Search Discussions

  • Paul H Byerly at Jun 8, 2004 at 6:22 pm

    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedJun 8, '04 at 3:51p
activeJun 8, '04 at 6:22p
posts2
users2
websitelist.org

2 users in discussion

Brendan Chard: 1 post Paul H Byerly: 1 post

People

Translate

site design / logo © 2022 Grokbase