Thus spake Mark Sapiro on Mon, Oct 16, 2006 at 04:07:58PM CDT > >In particular, I'm trying to find out if there's a lower case version of the > >list name available in archtocnombox.html and archtoc.html (where > >%(listname)s is the "pretty" name selected by the list administrator), and > >what other substitution tokens are available in the context of these two > >templates. > > > In general, the %(key_word)s substitutions are specific to any given > template that uses them and the only ones defined for a specific > template are the ones that appear in the default template. > > It's pretty easy to patch the code to pass additional key_word:value > items to substitute in the template, but it does require patching the > code. See > <http://mail.python.org/pipermail/mailman-users/2006-September/053399.html> > for more info.
After I wrote the above, I looked at the code for quick_maketext() and saw where I could do this. My PHP hack does the case-crunching OK for my purposes, but the stuff I'm putting together for Mailman/Namazu integration ought to be able to work without doing anything but modifying the templates. I probably ought to file a feature request that any template which might need it should support a keyword which contains the results of a call to mlist.internal_name() - in particular archtoc.html and archtocnombox.html :-) -- Lindsay Haisley | "Fighting against human | PGP public key FMP Computer Services | creativity is like | available at 512-259-1190 | trying to eradicate | <http://pubkeys.fmp.com> http://www.fmp.com | dandelions" | | (Pamela Jones) | ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org 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/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp