Hi, Colin ... thanks for the hack!, which I got working on my forumhome ... but, of course, I wanted MORE, so I decided to try to make a second small calendar as well. Here's what I did:
First, I completed the hack for one calendar ... then:
Made second (duplicate) template and named it small_calendar_bal.
Duplicated cal.php and named it bal.php
assigned it to:
$calendarid = 2;
Replaced all instances of $calendarbits with $balendarbits
changed the last line of that file to:
eval("\$smallcalendarbal .= \"".fetch_template("small_calendar_bal")."\";") ;
Uploaded bal.php
Called it from the template: $smallcalendarbal
Added this in index.php:
require_once('./global.php');
include ("cal.php");
include ("bal.php");
Both instances now link to the correct calendars.
HOWEVER, entries made in either calendar show up as day links in both.
While if incorrect, they link to the "no entry" error page ... it would be sweet if I could correct his one remaining problem.
Any ideas?
|