#251 — Changing font in email

State Resolved
Version: 1.2.11
Area Functionality
Issue type Feature
Severity Medium
Submitted by Angela Wong
Submitted on Mar 22, 2011
Responsible Maurits van Rees
Target release:
I notice that in order to change the font size in the email response from Poi, I need to go to Products.Poi-1.2.11-py2.4.egg/Products/Poi/htmlrender.py:
    font-size: 0.9em;

Is there a way to change the font size via the ZMI rather than changing it in the py file directly? Please advise.

Added by Maurits van Rees on Oct 05, 2011 10:50 PM
Issue state: UnconfirmedResolved
Responsible manager: (UNASSIGNED)maurits
First, sorry for the late answer.

Short answer: no, that is currently the only way and it will stay that way for Poi 1.x (Plone 3).

(Well, you should never edit that file directly but instead do that in a patch in an own package, but that is beside the point.)

Longer answer: I should probably make that easier. I can do something on trunk (2.x, for Plone 4 or higher). Okay, done on trunk in r245125. Once that is released you can customize poi-email.css from the Poi skin layer.

Note that I may want to do some more refactoring in that part of the code before I make a release.

Also note that from that release onwards htmlrender.py is not actually used anymore; I may even decide to remove it. The relevant part of the code has been moved to browser/notifications.py.
Added by Angela Wong on Oct 06, 2011 02:49 PM
Thanks so much Maurits. I look forward to the next release of the product.

Angela :-)

No responses can be added.