mishspring
07-14-2006, 11:03 PM
Greetings,
I pulled down and installed version 7.8 of PHP-Nuke on a Fedora FC4 system. I downloaded the demo of the EasyPHPCalendar and installed that. Works great.
I attempted to integrate the two as per instructions in thread # 2273 on this board, and no matter what I do, if the calendar block is in the left nav, the main content disappears. Remove the calendar, main content comes right back.
The content behavior is very strange. For example, the entire homepage (all news bits) is empty when the calendar is displayed. On other pages such as FAQ and Encyclopedia, the framework of the page is shown, but not the content.
Moreover, the << , -=- and >> links at the bottom of the calendar take me to URLs of the form /modules.php?mo=07&yr=2006 and I get errors to the effect of "Sorry, this Module isn't active".
My includes/custom_files/custom_head.php looks like this:
<?php
$CSS=1; require ("calendar/calendar.php");
?>
My blocks/block-Calendar.php looks like this:
<?php
if (eregi("block-Calendar.php", $_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
ob_start();
// comment out the next two lines for content to reappear
require ("calendar/calendar.php");
$content=ob_get_clean();
?>
If I comment out the last two lines of this file my content displays fine but obviously the calendar disappears.
I would like to buy the calendar but only if it doesn't kill the rest of my site. :sad:
Any help would be greatly appreciated.
Thank you!
-Mike
I pulled down and installed version 7.8 of PHP-Nuke on a Fedora FC4 system. I downloaded the demo of the EasyPHPCalendar and installed that. Works great.
I attempted to integrate the two as per instructions in thread # 2273 on this board, and no matter what I do, if the calendar block is in the left nav, the main content disappears. Remove the calendar, main content comes right back.
The content behavior is very strange. For example, the entire homepage (all news bits) is empty when the calendar is displayed. On other pages such as FAQ and Encyclopedia, the framework of the page is shown, but not the content.
Moreover, the << , -=- and >> links at the bottom of the calendar take me to URLs of the form /modules.php?mo=07&yr=2006 and I get errors to the effect of "Sorry, this Module isn't active".
My includes/custom_files/custom_head.php looks like this:
<?php
$CSS=1; require ("calendar/calendar.php");
?>
My blocks/block-Calendar.php looks like this:
<?php
if (eregi("block-Calendar.php", $_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
ob_start();
// comment out the next two lines for content to reappear
require ("calendar/calendar.php");
$content=ob_get_clean();
?>
If I comment out the last two lines of this file my content displays fine but obviously the calendar disappears.
I would like to buy the calendar but only if it doesn't kill the rest of my site. :sad:
Any help would be greatly appreciated.
Thank you!
-Mike