PDA

View Full Version : List Mode question


ScottR
09-16-2005, 02:54 PM
List Mode

Right now I have it set to show the whole months events in the box below the calendar. Can the statement below in anyway to show the events per week per the week that is current vs the whole months events?

<?php $LIST=1; $DF = "D - M d"; $template="monthly.php"; $CSS=1; require("calendar/calendar.php"); ?>

Brian
09-16-2005, 04:45 PM
http://docs.easyphpcalendar.com/Integration/Listings%20Module.htm

$listDays = x;
Lists 'x' number of days from Today.

$listWeeks = x;
Lists 'x' number of weeks from Today.

ScottR
09-16-2005, 05:07 PM
Thanks, will give it a try. One more quick question. Are the settings somewhere to change the width and height if necessary of the box for list mode?

Brian
09-16-2005, 05:17 PM
The CSS for the List Mode is in the template file that you're using. (Probably modern.php: calendar/template/modern.php).

ScottR
09-17-2005, 07:20 AM
I would assume this is the modern.php (css) one that is showing on this page?
http://64.255.6.181/calendar3.php?mo=10&yr=2005

If so I did go into that file and adjust the width settings but nothing happened. Do you know where the adjustments are exactly? What lines?

Brian
09-17-2005, 12:00 PM
Even though you may change the main width, if the sum of the individual cells equals more than the main width setting, they will override that setting and make the table wider.

ScottR
09-17-2005, 01:11 PM
Ok, continued thanks for your replies. I'll give it a try.