This topic is locked

PHP calendar template missing month

2/13/2009 3:22:15 PM
PHPRunner General questions
vin7102 author

Hello All,
I built an application around a PHP Calendar template and never noticed until now that on the print page of the monthly calendar, the name of what month is being printed is not visible. I didnt notice until just now after printing a couple monthly calendars I couldnt tell what month was what. I took a stroll to the calendar demo and the month appears in bold on the upper left corner of the printed page. I've tried resetting both the print page and the list page and rebuilding the app but no luck.
Thanks..

J
Jane 2/16/2009

Hi,
thank you for pointing me to this bug.

We'll fix it in the next update.
To make your pages working open Print page: Before display event, find this line:

$yr=$_SESSION["yr"]+0;



and add following code just after:

$smarty->assign("Monthly_Title",$mont[$mon].", ".$yr);