Recent Topics

1 Nov 07, 2006 03:01    

Hello, I was wondering if someone could work out a plugin that places a link on every blog entry (like with the comments or whatever) for a 'printer friendly version' - preferably just on the single entry view but any view would work, its better then nothing.

All it would take, I'm assuming, is the setup of a 'print' skin and then a link that calls up that blog entry using the print skin, preferably in a javascript style popup but whatever works.

There is a post on the main plugin forum dealing with this idea, but no fully established plugin that is not overly complicated, works, and is tested with newer versions of b2evo (the post was all from 2005).

Thanks,
Marcus

2 Nov 07, 2006 11:50

I use this

<?php if( $disp=='single' )  
  { ?> 
  <a href="javascript:window.print()"><img src="rsc/icon_16_print.gif" border="0" /></a> 
<?php } ?>


and with that I use a css file for "print" media...
Very easy and no plugin needed.

3 Nov 09, 2006 22:58

maybe I am just dumb, but I couldn't get that to work (I found it in the help docs here before I started asking about printer friendly stuff of course).

What file and where do i place it? Because it didn't work putting it in main where the other links are (permalink, comment links, etc.)

Also, I know CSS print stuff doesn't quite work yet, like certain browsers screw it up and what not, which is why I was looking for a better way.

And now that I mention it, if you could tell me where to place this file and what not I bet i could do the rest to get it to load up the article with a different skin in a popup window (as opposed to the print link that you have).

Thanks!, just any help on where to put that would be great.

4 Jan 20, 2007 16:18

Checkout my blog at:

http://www.alkhater.net/en_blog

Go down the home page and you will see "print this article"

if you check the other blogs such as Poetry you see how I did it if the post is not in a single view.

If you like it I can send you the files and the code. It works for 0.9.2 and 1.9.1 beta

5 Jan 26, 2007 02:17

The link to kskhater's blog isn't working for me so I am unable to check it out, but I too would like to know how to add a "printer-friendly" link. I actually would like to add a button to my own blog sidebar to print out all the currently displayed posts, expanded to show multi-pages and "mores," with comments. Any suggestions? Thanks.

6 Jan 26, 2007 03:31

Sorry for giving you the wrong link. The link is:

http://www.alkhater.net/blog

I'm afraid my version only prints a single article and its comments. You have to create a function that loops though all post and print the all with their comment. That is a big job.


Form is loading...