[Mailman-Users] Global Font Change

Jon 1234 jon.1234 at hotmail.co.uk
Sun Apr 29 21:48:35 CEST 2012



Sorry for the dreadful formatting. I'll try again...
The following is how I changed the font face and background colour (not text colour, admittedly) site-wide, and may assist you.
Create a mailman.css file but put it outside your mailman directory so that you can refer to it using an absolute URL.

Link to it in the following files (using http://www.domain.co.uk/mailman/edithtml/listname where necessary):

1. Mailman/htmlformat.py:325:                   'href="http://www.domain.co.uk/mailman.css" type="text/css">')
2. lists/listname/en/listinfo.html:7:<link rel="stylesheet" href="http://www.domain.co.uk/mailman.css" type="text/css">
3. lists/listname/en/options.html:6:<link rel="stylesheet" href="http://www.domain.co.uk/mailman.css" type="text/css">
4. lists/listname/en/subscribe.html:4:<link rel="stylesheet" href="http://www.domain.co.uk/mailman.css" type="text/css"></head>
5. lists/listname/en/archidxhead.html:5:     <link rel="stylesheet" href="http://www.domain.co.uk/mailman.css" type="text/css">
6. lists/listname/en/archtoc.html:6:     <link rel="stylesheet" href="http://www.domain.co.uk/mailman.css" type="text/css">
7. lists/listname/en/archtocnombox.html:5:     <link rel="stylesheet" href="http://www.domain.co.uk/mailman.css" type="text/css">
8. lists/listname/en/article.html:15:   <link rel="stylesheet" href="http://www.domain.co.uk/mailman.css" type="text/css">
9. lists/listname/en/private.html:4:<link rel="stylesheet" href="http://www.domain.co.uk/mailman.css" type="text/css">
You should copy some of the files from templates/en to lists/listname/en before you edit them.

To get the archives HTML to update properly following any changes you need to:bin/mailmanctl stopbin/arch --wipe listnamebin/mailmanctl start

My scheme was black on white so I had to remove a few FONT BGCOLOR tags. 
I imagine there are even more FONT COLOR tags for you to remove. To find them you couldgrep -RnisI "<font" *|more orgrep -RnisI "#000000" *|more

Best wishes

Jon 		 	   		  

 		 	   		  


More information about the Mailman-Users mailing list