Page 1 of 1

Print This Post

Posted: Wed Oct 20, 2004 3:27 am
by Gibi
In Serendipty exists a pulgin to "Print This Post"?

Posted: Wed Oct 20, 2004 4:23 am
by tadpole
Easy enough. First, let's create a stylesheet for print media.

Code: Select all

a:link,
a:visited {
  color: black;
  text-decoration: none;
}

.serendipity_entryIcon,
#serendipityRightSideBar,
#serendipityLeftSideBar {
  display: none;
}
Should keep everything simple...

Next, talk to Jannis and get him to send you his plugin to add elements to the <head>. Here's the what you need to add (assuming the above stylesheet is in templates/print/style.css):

Code: Select all

<link rel="stylesheet" type"text/css" href="templates/print/style.css" media="print">