mediawiki-extensions / mw-calendar

Automatically exported from code.google.com/p/mw-calendar
0 stars 2 forks source link

Printable Version of Calendar not right with v3.7.7.1 (5/6/2009) #76

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have installed "v3.7.7.1 (5/6/2009)" on MediaWiki 1.14.0. I am using the 
monobook skin.

The Calendar looks great in its normal pages. Days have the boxes around 
them.

However, when I click on the "Toolbox | Printable Version" option, the 
page is rendered horribly. The fonts are Times, there are no borders 
around the days etc.

Am I missing something simple lik a style sheet or something?

FTR, the Print Version works fine on another Wiki with Calendar 3.7.0.3 
(2/2/2009) and MediaWiki v1.13.2

Original issue reported on code.google.com by proberts...@gtempaccount.com on 27 May 2009 at 1:53

GoogleCodeExporter commented 8 years ago
Thanks for the reporting this issue. 

I changed the calendar to load a stylesheet file instead of loading all the CSS 
data
into the HTML page.... this was a new feature with 1.14. However, it looks like 
the
stylesheet isn't loaded in print mode. 

I'll need to see if I need to load a "print" stylesheet as well as a screen 
stylesheet.

Thanks again
Eric

Original comment by kenyu73 on 27 May 2009 at 2:11

GoogleCodeExporter commented 8 years ago
Eric,

Any update on a fix for this?

Thanks,
Paul.

Original comment by proberts...@gtempaccount.com on 22 Jun 2009 at 6:16

GoogleCodeExporter commented 8 years ago
LINE: 276 Calendar.php
old: $wgOut->addStyle($cssURL . $css, 'screen'); //clean method
new: $wgOut->addStyle($cssURL . $css); //clean method

Looks like I didnt need to "define" which type of CSS to use

Original comment by kenyu73 on 23 Jun 2009 at 10:12

GoogleCodeExporter commented 8 years ago
Awesome Eric, that is great! 
Thanks for the fix. :-)

Paul

Original comment by proberts...@gtempaccount.com on 25 Jun 2009 at 5:18

GoogleCodeExporter commented 8 years ago
v3.7.8

Original comment by kenyu73 on 4 Aug 2009 at 2:28