[Mailman-Users] HTML templates
Eli Barzilay
eli at barzilay.org
Fri Jun 11 06:16:10 CEST 2010
On Jun 10, Mark Sapiro wrote:
> Eli Barzilay wrote:
>
> >I was looking at the "Confirm subscription request" and "Subscription
> >request confirmed" pages -- there's no way to customize them too,
> >right? Is there at least some way to have my own header used?
> >(Without that, having a very customized look means that these pages
> >stick like a sore thumb...)
>
> Those pages are built dynamically by Mailman/Cgi/confirm.py. No
> templates are involved.
>
> See the Format() method in the Document class in
> Mailman/htmlformat.py. It should be clear how to modify that to add
> css and/or a heading to all generated pages.
Thanks -- it does look easy to change, but making it fit with the rest
of my framework means that I'd make it use some template files too,
and given that I already patched MM in one place, I'll avoid
another... (I'm generally trying not to do it too much so it's easy
to upgrade systems.)
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!
More information about the Mailman-Users
mailing list