PDA

View Full Version : small calendars link to list?


artiswork
06-13-2006, 09:22 AM
Would somebody be able to point me to how this site's calendar functionality might be accomplished using EasyPHPCalendar?

http://imagodeicomnunity.com/events/2006/06/28/ (http://imagodeicommunity.com/events/2006/06/28/)

It seems like it could be done using a combination of multi calendar and list modes, but as I am new to how to implement that, I could use some help :)

Thanks all,

Matthew

Brian
06-13-2006, 12:13 PM
Blog Mode would come the closest, but you would need a custom loop to display more than one month of the normal mode.

artiswork
06-13-2006, 09:12 PM
Brian,
What would the code for that kind of custom loop look like? Are their examples around the forum?

Thanks.

Matthew

Brian
06-14-2006, 08:51 AM
A very basic version would be (hasn't been tested):

<?php
if (!$mo) $mo = date('m');

for ($N=0; $N<=6; $N++) {
$EPCBLOG=1;
$mo = $mo + $N;
require ("calendar/calendar.php");
}
?>

artiswork
06-14-2006, 09:17 AM
Brian,
Thanks. I assume that is for displaying multiple of the smaller calenders (normal mode calenders), is that correct?

I'll test it and let you know what I come up with.