When addressing
Item2771 I discovered that the printable mode for
PatternSkin was incorrect with respect to the following:
- The attachement and form were always shown at the bottom, even if the current view might show them on top.
- The beforetext and aftertext section were suppressed.
I think the printable mode should be further reviewed for what should be present and what should not be present.
For example, it currently does not show the broadcast message. Should this be shown in printable mode or not? I don't know, but there probably is an explanation.
Every item in the view mode should be reviewed whether it should be visible in printable mode or not. This has to be done keeping in mind that topic specific templates might use some of these features.
For example, currently
TMPL:P{"textcontent"}
just shows the broadcastmessage and
TEXT
. In the original
viewprint.pattern.tmpl
template, it was eliminated and
TEXT
was put directly into
TMPL:P{"content"}
(to get rid of the broadcast message). This will break any topic specific template which modifies
TMPL:P{"textcontent"}
. Better would have been to just remove the broadcast message from text content (but this would end up showing the broadcast message if the topic specific template changed text content). So an even better solution would have a template snippet for the broadcast message to have finer control.
Of course, this can be quite subtle, and requires much planning. The current templates are a great step forward from Cairo in terms of modularity.