• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

this removes from printing the WebLeftBar and various bits of the GUI. also, it doesn't print the URL's for various other gui bits (like the last editor, breadcrumb path, and copyright notice)

not sure which file this should actually go into:

twikibuilder@ubuntu:~/twiki/DEVELOP/templates$ svn diff cssmediatypes.tmpl
Index: cssmediatypes.tmpl
===================================================================
--- cssmediatypes.tmpl  (revision 7280)
+++ cssmediatypes.tmpl  (working copy)
@@ -1,8 +1,23 @@
 <style type="text/css" media="print">
+/* position page on left */
+       div.patternMain         { padding:0; margin:0; left:0; }
+/* hide bits of the gui */
+       div.patternTopicAction,
+       td.patternToolBar,
+       div.patternLeftBar,
+       div.patternTopBar       { display:none; width:0; height:0; }
+/* show url for links */
        a:link:after,
-       a:visited:after {
+       a:visited:after         {
                content: " (" attr(href) ") ";
                font-size:85%; /*S3*/
        }
-       /* define custom print styles here */
+/* except for bits of the gui */
+       td.patternHomePath a:visited:after, td.patternHomePath a:link:after,
+       td.patternRevInfo a:visited:after, td.patternRevInfo a:link:after,
+       div.patternBottomBar a:visited:after, div.patternBottomBar a:link:after
+                               {
+               content:"";
+       }
+/* define custom print styles here */
 </style>

hm, this needs to be updated to deal better with attachment tables

WN


I've created print.css in /pub/PatternSkin with the print style. SVN 7340.

If there's something with the attachment tables reopen this bug. AC

ItemTemplate
Summary pattern skin css print prints too much of the gui - WILL/ARTHUR
ReportedBy WillNorris
AppliesTo Engine
Priority Urgent
CurrentState Closed
WaitingFor

Checkins 7340
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2005-11-06 - ArthurClemens
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback