Print This Post

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Gibi

Print This Post

Post by Gibi »

In Serendipty exists a pulgin to "Print This Post"?
tadpole
Regular
Posts: 88
Joined: Fri Oct 08, 2004 6:20 am
Location: 33°6'4.079" North, 117°3'6.563" West
Contact:

Post 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">
Post Reply