Motivation
I am making extensive use of topic specific view templates in various twiki applications. But when using the viewprint skin, many of these modifications do not come through, leading to rather poor printed versions. For example, if a topic put the form on top, the viewprint would still show it at the bottom. There is no support for topic specific view print templates, making this problem even worse.
Description and Documentation
Rather than building viewprint up from scratch, it should be derived from the view template, with unwanted items removed. This allows modifications to the view template in topic specific templates to also appear on the viewprint skin (or not at all, if the item has been removed).
Examples
Impact
Implementation
--
Contributors: ThomasWeigert - 2010-09-13
Discussion
Agreed that print view and view should be aligned as much as possible, while removing all unwanted elements of the view screen.
The
PatternSkin (thus also derived skins such as
TopmenuSkin) use a
cover=print parameter, thus (I think) gives the desired effect. Is that what you are looking for?
--
PeterThoeny - 2010-09-14
Actually, the
PatternSkin does not do this.
cover just pushes the skin on the stack of templates. But the problem is that they are derived from different base templates. So if I modify the view templates (or override by a topic specific template), this does not affect the viewprint mode in general. An overlay skin that must only modify portions of the base template must be derived from the same starting point, otherwise the overlay might not work completely, as is the case with view and
cover=print.
If this is not clear, I can give you sample templates that demonstrate the problem.
--
ThomasWeigert - 2010-09-15
I guess I am not following.
In any case, be bold and enhance/fix TWiki in a compatible way. Commit to a proposal, implement, and checkin after the review period.
--
PeterThoeny - 2010-09-20
What I am saying is that print view does not work the way you believe it does. But I will propose a solution following your encouragement...
--
ThomasWeigert - 2010-09-20
No concerns have been raised, this is now a proposal that is
AcceptedBy7DayFeedbackPeriod.
--
PeterThoeny - 2010-10-02
Ping after two years. What happened to the implementation and doc update of this feature? We will park this proposal unless there is some action.
--
PeterThoeny - 2012-10-18