[Mailman-Users] changing Mailman layout

Zbigniew Szalbot z.szalbot at lcwords.com
Mon Aug 18 14:52:40 CEST 2008


Mark Sapiro:
> Zbigniew Szalbot wrote:
>> What something like that work or do I need to learn python? :)
>>            output.append('<META http-equiv="Content-Type" '
>>                           'content="text/html; charset=%s">' % charset)
>>            output.append('<META http-equiv="Content-Type" '
>>                           'content="text/html; charset=%s">' % charset 
>> \n '<link rel="stylesheet" href="domain.tld/stylesheet.css" 
>> type="text/css">')
> Learning Python is always worthwhile :)
> The above replacement won't work for a few technical reasons. Do it
> this way:
>             output.append('<META http-equiv="Content-Type" '
>                           'content="text/html; charset=%s">' % charset)
>             output.append('<link rel="stylesheet" '
>                    'href="domain.tld/stylesheet.css" type="text/css">')

Thanks! I ran into another problem. I modified the general list 
information page for one of the lists.

I edited it from the command line to include a style sheet in it (to 
test before I do it site-wide). This cannot be done via GUI. Anyway, as 
long as the link to a stylesheet is a full URL, all is fine. When it is 
a relative link (like css/stylesheet.css) or full directory path 
(/path/to/mailman/lists/en/css/stylesheet.css) it does not work either. 
Can be files referenced from directories and not by full URLs?


Zbigniew Szalbot

More information about the Mailman-Users mailing list