Page 1 of 1
Bulletproof and printing - problem
Posted: Wed Sep 26, 2007 9:22 am
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?
Posted: Wed Sep 26, 2007 3:17 pm
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.
Posted: Thu Sep 27, 2007 10:29 am
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
Posted: Thu Sep 27, 2007 3:50 pm
by garvinhicking
Hi!
Might be because some width-hack or so is not usable on printers?
Regards,
Garvin
Posted: Thu Sep 27, 2007 6:30 pm
by Don Chambers
I'm fairly certain I know the problem... and a probably solution. Let me do some experimenting.....
Posted: Thu Sep 27, 2007 11:02 pm
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.
Posted: Thu Sep 27, 2007 11:06 pm
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
Posted: Thu Sep 27, 2007 11:28 pm
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.