-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David A Boothe wrote:
> I am setting up custom pages for many clients' MM pages.  I want to
> be able to use some of the MM variables within these pages.  I think
> there may be many of these variables that would be of use to me but
> I have no idea what all of them are available.  Can someone please
> either provide a list of all MM variables or a site that lists them
> all?

I think it's be covered here before, but I haven't searched the
archives.  A quick grep gets you the answer though.  One of the tags
used in the default listinfo.html template is <MM-List-Name>.  So I
grepped for it (to refresh my memory and be able to explain the steps
I took to find this).

    $ grep -rli 'MM-List-Name' ~mailman/Mailman
    /var/mailman/Mailman/HTMLFormatter.py
    /var/mailman/Mailman/HTMLFormatter.pyc

Looking at HTMLFormatter.py, you'll see a nice list of replacements in
the oddly named 'GetStandardReplacements' method.  Here's that list,
in case it helps future seekers (though it might have changed by then,
this is with MM 2.1.4):

    mm-archive
    mm-email-user
    mm-form-end
    mm-host
    mm-list-description
    mm-list-info
    mm-list-langs
    mm-list-name
    mm-list-subscription-msg
    mm-mailman-footer
    mm-num-digesters
    mm-num-members
    mm-num-reg-users
    mm-owner
    mm-posting-addr
    mm-reminder
    mm-request-addr
    mm-restricted-list-message

- -- 
Todd        OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
======================================================================
You may be disappointed if you fail, but you are doomed if you don't
try.
    -- Beverly Sills

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

iD8DBQFAKYDCuv+09NZUB1oRAjnoAKDGCfGypgX6QfSUWaySEgPpvOfLdgCdEtlG
/op4hFoYT80R7HSKshViujQ=
=k37t
-----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

Reply via email to