VosSavant
11-26-2007, 03:45 AM
I'm trying to get EPC to work with a Wordpress install. Everything is going well so far, except for this: I can't disable the alt link feature.
I am calling a calendar in two places: an AJAX version in the sidebar of my Wordpress main page using:
<div id="EPCcalendar" align="center">
<?php $EPCajax=1; require("calendar/calendar.php"); ?>
</div>And a normal one on a Wordpress category page using:
<?php require("calendar/calendar.php"); ?>I'd like these calendars to function exactly like the calendar in demo.php; that is, no linking, just the mouseover popups. When I click one of the calendars, I get a 404 error, probably because no link is defined.
I tried including demo.php directly into my page using a php "require" function, but the demo calendar started acting the same way (whole calendar turned into a link). This leads me to wonder if there is something in one of my Wordpress template files causing your calendar to think Alt Link is turned on. From reading around, I get the impression that Alt Link needs to be activated explicitly using unset($epcAltLink); $epcAltLink="X"; before each calendar.
The AJAX calendar is located here (http://buylocalrmfu.org/sandbox/wordpress/) and the normal calendar is located here (http://buylocalrmfu.org/sandbox/wordpress/categories/events). If needed, I can provide login details and code snippets to anyone out there willing to lend a hand.
Sincerely,
VosSavant
I am calling a calendar in two places: an AJAX version in the sidebar of my Wordpress main page using:
<div id="EPCcalendar" align="center">
<?php $EPCajax=1; require("calendar/calendar.php"); ?>
</div>And a normal one on a Wordpress category page using:
<?php require("calendar/calendar.php"); ?>I'd like these calendars to function exactly like the calendar in demo.php; that is, no linking, just the mouseover popups. When I click one of the calendars, I get a 404 error, probably because no link is defined.
I tried including demo.php directly into my page using a php "require" function, but the demo calendar started acting the same way (whole calendar turned into a link). This leads me to wonder if there is something in one of my Wordpress template files causing your calendar to think Alt Link is turned on. From reading around, I get the impression that Alt Link needs to be activated explicitly using unset($epcAltLink); $epcAltLink="X"; before each calendar.
The AJAX calendar is located here (http://buylocalrmfu.org/sandbox/wordpress/) and the normal calendar is located here (http://buylocalrmfu.org/sandbox/wordpress/categories/events). If needed, I can provide login details and code snippets to anyone out there willing to lend a hand.
Sincerely,
VosSavant