Hi All--

On 4/24/07, Brad Knowles <[EMAIL PROTECTED]> wrote:
> At 3:19 PM +0200 4/24/07, Ralf Hildebrandt wrote:
>
> >  How do I globally set the font the mailman HTML pages use?
>
> Mailman does not (currently) have those kinds of facilities.  See FAQ 3.40.
>
>
> If you add anything along these lines to Mailman, we would love to
> see your modifications be contributed back to the community.
>
> You should also check the SourceForge patches page to see if anyone
> else has made this kind of a modification, and contributed their
> changes back to the Mailman project, although they may not have (yet)
> been accepted into the mainstream codebase.
>

There's no global option for this, but it's not particularly hard to
do, just a bit fiddly.  I've done it with my lists, with only a few
false starts.  The basic idea is to grep -i through all the config
files, templates and .py files looking for '<head'.  Then edit the
file and plug in a style sheet, something like this:

  <style type="text/css">
  <!--
    td {font-family: Helvetica}
    th {font-family: Helvetica}
     p {font-family: Helvetica}
    h1 {font-family: Helvetica}
    h2 {font-family: Helvetica}
    h3 {font-family: Helvetica}
    caption {font-family: Helvetica}
    li {font-family: Helvetica}
    ul {font-family: Helvetica}
    ol {font-family: Helvetica}
    dl {font-family: Helvetica}
    div {font-family: Helvetica}
    address {font-family: Helvetica}
    body {background-attachment: fixed;font-family:Helvetica;}
  -->
  </style>

Once you make all the changes, restart Mailman for the changes to take effect.

It'd be nice to have an easier way, yes.  We'd have to have a special
web page devoted to Mailman settings, not list settings.  Threel ways
to organize such a meta-page would be: 1) on a per-machine basis; 2)
on a per-list basis; and 3) on a per-virtual-host basis.

Metta,
Ivan
-- 
Ivan Van Laningham
God N Locomotive Works
http://www.pauahtun.org/
http://www.python.org/workshops/1998-11/proceedings/papers/laningham/laningham.html
Army Signal Corps:  Cu Chi, Class of '70
Author:  Teach Yourself Python in 24 Hours
------------------------------------------------------
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&amp;file=faq01.027.htp

Reply via email to