Remember the thread about getting external footers? Here is where I
got stuck. The only remaining issue is how to add an attribute to
existing mailing lists.
Any ideas?
Thanks!
En un mensaje anterior, Tom Neff escribió:
If you have the ability to patch your Mailman installation, you could
add a new variable name (like mlist.fortune) to the ALLOWEDS array in
Mailman/Gui/Digest.py and then use the 'withlist' command to set this
variable to a new value every so often, and include it in the msg_footer
So I did it. I also added:
self.external_footer = ''
in MailList.py:InitVars()
and
d['external_footer'] = mlist.external_footer
in Handlers/Decorate.py:process() (line 38).
I can set the footer with 'withlist', but the problem is that
previous lists don't have the external_footer field so they blow
with:
File /usr/local/mailman/Mailman/MailList.py, line 130, in __getattr__
raise AttributeError, name
AttributeError: external_footer
How do I add the new attribute to the existing lists?
Thanks!
Fernando P. Schapachnik
[EMAIL PROTECTED]
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org