decontructor
09-29-2005, 02:14 PM
Here is the code I put in a XOOPS custom block. The calendar comes up fine. I can't get the showCat varaible to work though.
I have latest version of the calendar.
*** Block below ****
// used this in my PHPNUKE site
$CSS=1;
require("/home/content/x/k/a/xkanex/html/cal/calendar.php");
ob_start();
$OL=1;
require ("/home/content/x/k/a/xkanex/html/cal/calendar.php"); //required if you're going to use overLib
//This is what i got from find/filter yellow bar
$showCat="[Any] | Rampage -5";
require ("/home/content/x/k/a/xkanex/html/cal/calendar.php"); //the line that shows the calendar
// What's following is the section required for the listing
// Uncomment if you want the listing to appear.
// You will have to modify the /cal/templates/monthly.php file accordingly
// so that it fits in your site.
//$LIST=1;
//$DF = "D - M d";
//$template="monthly.php"; //just specify the name of the template - no path!
//require ("/cal/showCalendar.php"); //display the list of events
$content = ob_get_clean();
//added this for XOOPS
return $content;
I have latest version of the calendar.
*** Block below ****
// used this in my PHPNUKE site
$CSS=1;
require("/home/content/x/k/a/xkanex/html/cal/calendar.php");
ob_start();
$OL=1;
require ("/home/content/x/k/a/xkanex/html/cal/calendar.php"); //required if you're going to use overLib
//This is what i got from find/filter yellow bar
$showCat="[Any] | Rampage -5";
require ("/home/content/x/k/a/xkanex/html/cal/calendar.php"); //the line that shows the calendar
// What's following is the section required for the listing
// Uncomment if you want the listing to appear.
// You will have to modify the /cal/templates/monthly.php file accordingly
// so that it fits in your site.
//$LIST=1;
//$DF = "D - M d";
//$template="monthly.php"; //just specify the name of the template - no path!
//require ("/cal/showCalendar.php"); //display the list of events
$content = ob_get_clean();
//added this for XOOPS
return $content;