Jeff Edwards wrote: >I'm working on customizing the Mailman archive templates. I'm customizing >the HTML and need to generate dynamic text based on the listname, but when I >add a %(list_name)s in places, it doesn't get rendered dynamically. Instead >it shows up as %(list_name)s in the final HTML. How can I use the dynamic >tags in templates correctly?
Templates are a hodge podge. In some cases you use %(xx)s replacement; in others <mm-*> tags like <MM-List-Name>. Also, you can't just use arbitrary names. Each template has an associated dictionary in the code, so even if you are dealing with a template that uses %(name)s replacements, %(list_name)s may not work in that particular template. >And is there a guide anywhere explaining the templating system in detail? No, but it's on my To Do list to write a FAQ for this. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ 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/ 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
