Bulletproof and printing - problem

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
JWalker
Regular
Posts: 177
Joined: Mon Sep 12, 2005 4:14 pm
Location: Botevgrad, Bulgaria
Contact:

Bulletproof and printing - problem

Post by JWalker »

Hi,

It seems that when bulletproof theme is chosen, printing s9y pages is not correct. The main content (entries or static pages) extends beyond first page, but does not continue at the second page and so on. This happens no matter if serendipity_event_layout_printerfriendly is used or not.

Then I changed to the previous theme I used, carl_bubblegum, and this problem didn't appeared.

I tested under Internet Explorer 6.0.2800.1106 and Mozilla Firefox 2.0.0.7.

Has someone experienced this problem?
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

Can you point us to a specific page/entry on a blog running bulletproof that demonstrates this problem when printed? I have to admit that I have not tried printing anything.
=Don=
d_cee
Regular
Posts: 603
Joined: Wed Jan 18, 2006 6:32 pm
Location: UK
Contact:

Post by d_cee »

Hi
I've just taken a look at the doc site, sent it to print and only the first page is printed so I guess it's the same for any bp installation. If nobody has any suggestions I'll take a look tonight.

cheers

Dave
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Might be because some width-hack or so is not usable on printers?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

I'm fairly certain I know the problem... and a probably solution. Let me do some experimenting.....
=Don=
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

I committed what is either the beginning of the solution, or the complete solution depending on what anyone else might have to contribute. It is simply an additional stylesheet specific to print media. Comments/modifications/additions welcome from those retrieving the latest svn snapshots.
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi Don!

I believe you forgot to add the 'print.css' file, it's not yet there?

BTW, is there a chance to add the print selectors to the core .css file? This would save one call to the serendipity_getFile() function. I believe you can also use an '@print' or whatever to a rule to only apply it for printing media?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

That is strange - it was sitting in my working copy, but Tortoise did not add it. First time that has ever happened! Go figure! Anyway, it is there now. Thanks for the heads-up Garvin.
=Don=
Post Reply