Recent Topics

1 Aug 25, 2009 01:07    

My b2evolution Version: 2.x || 3.x

A print.css file. All of 'em. Because if you are logged in and print and you still have the evobar visible on the public side you'll print the evobar. Yuck! This will cure that:

#evo_toolbar, #sidebar, .bComment {
display: none;
}


Not enough though eh? _html_header.whatever.thing also needs to know about print.css else it is just another file abandoned in the prime of life.

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


And there you go!

2 Aug 25, 2009 13:46

yea that cures the most annoying ones but.. we need much of a 'print skin' than a hack, that can be used through 'tempskin' function.

3 Aug 26, 2009 04:24

Why? I mean, the only reason one might want a tempskin would be to have a little "print" button. With a print-dedicated style sheet you can have one a print button if you like, but it would not be required to access the printing styles.

Not sure that "having a style sheet" is a hack eh?

4 Aug 30, 2009 02:25

I also thought the evo_toolbar wouldn't show so thanks for the heads up EdB.
I added it to my long list of print.css display:none's :)

5 Aug 30, 2009 16:02

tacky-4/print.css wrote:

html{
display:none;
}

What guts me is most visitors prefer to browse the print version of my blog :'(

¥


Form is loading...