Re: [Mailman-Users] Modifying Listinfo page for one list

2004-01-11 Thread Ed Greenberg
Many thanks to Dan and Todd. I knew this was hiding somewhere, but couldn't 
figure out where.

/edg

--On Saturday, January 10, 2004 12:37 PM -0800 Ed Greenberg 
[EMAIL PROTECTED] wrote:

One of my listowners raises a valid question. She has a list that is used
for publishing a newsletter. No posting is allowed by anybody but the
owner.
When one visits the listinfo page, one sees the usual  to post a message
to all members send an email to  info.
I'd like to create a separate templates/en/listinfo.html for her list.

Is there a good way to do this, other than redefining one of the
languages (or adding a new language)?
--
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: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Modifying Listinfo page for one list

2004-01-10 Thread Ed Greenberg
One of my listowners raises a valid question. She has a list that is used 
for publishing a newsletter. No posting is allowed by anybody but the 
owner.

When one visits the listinfo page, one sees the usual  to post a message to 
all members send an email to  info.

I'd like to create a separate templates/en/listinfo.html for her list.

Is there a good way to do this, other than redefining one of the languages 
(or adding a new language)?

Thanks,
/edg
Ed Greenberg
San Jose, CA
--
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: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Modifying Listinfo page for one list

2004-01-10 Thread Todd
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ed Greenberg wrote:
 One of my listowners raises a valid question. She has a list that is
 used for publishing a newsletter. No posting is allowed by anybody
 but the owner.

 When one visits the listinfo page, one sees the usual  to post a
 message to all members send an email to  info.

 I'd like to create a separate templates/en/listinfo.html for her
 list.

 Is there a good way to do this, other than redefining one of the
 languages (or adding a new language)?

The list owner can do this on her own.  That's what the Edit the
public HTML pages link does in the list admin section.

If you want to do this for the list owner, you can copy listinfo.html
from templates/lang/ to lists/listname/lang/ and edit it to
remove the info about how to post to the list.

The order mailman searches for templates is described in
Mailman/Utils.py:

# When looking for a template in a specific language, there are 4
# places that are searched, in this order:
#
# 1. the list-specific language directory
#lists/listname/language
#
# 2. the domain-specific language directory
#templates/list.host_name/language
#
# 3. the site-wide language directory
#templates/site/language
#
# 4. the global default language directory
#templates/language

- -- 
ToddOpenPGP - KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
==
Sex is the only sport that is not called on account of darkness!
-- Anonymous

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iD8DBQFAAGr4uv+09NZUB1oRAiwQAJ0e2ON/jaMBig/py381g8fPK3Z5IgCgzV6h
Rbc2RZSTQNHG9h9VXuHBewg=
=UzYR
-END PGP SIGNATURE-

--
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: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org