PDA

View Full Version : Need to Disable Alt Link Feature


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

Brian
11-26-2007, 11:41 AM
I don't see this when I view the pages.

What OS and browser are you using?

Have you tried clearing your cache?

VosSavant
11-26-2007, 01:02 PM
Hey Brian,

Thanks for your quick reply.

You are right - the problem is gone. I suspect it was a cache issue like you said. I booted my computer this morning and visited the pages and they behaved as expected. I did refresh repeatedly last night, but that doesn't always do the trick.

Thanks for the great and timely support on this product.

Sincerely,

VosSavant