For your first question, yes and it's easy to do so.
If you base yourself on the demo.php, here's the code you originally added to get the listing module
PHP Code:
<?php
$LIST=1;
$DF = "D - M d";
$template="monthly2.php";
require ("showCalendar.php");
?>
what you need to do, is simply add two lines that will define which days the module can display. You should end up with this.
PHP Code:
<?php
$LIST=1;
$noOld = 1;
$listDays = 1;
$DF = "D - M d";
$template="monthly2.php";
require ("showCalendar.php");
?>
The $noOld = 1 makes it so that all events that occured yesterday or before are not shown.
The $listDays = 1 makes it so that there's only 1 day from today that the events are shown... when you join both, only today's events are listed.
As for your second question, what you could do, is enable the on-click popup, or the on-mouseover popup and the popup would then have that day's events listed.
Hope this helps.
|