EventCalendar3 has a couple of issues with the WordPress 2.5 update. There’s an unofficial patch at SourceForge that seems to work quite well on my WP 2.5 upgrade. The patch also addresses a javascript bug that showed up some time ago but hasn’t quite made it to the latest RC release. Hat tip to Andrew for the patch!
Hey, Im having a strange issue with EC3- using new WP2.5 and the latest RC release of the calendar, and was having problems that “posts” events listed in the main portion of my page are not sorted by the event date. The upcoming events widget sorts correctly, and after the patch, the parent category “events” sorts correctly but my subcategories sort by ID still. Any ideas??
http://wp.dclevel.com/category/events
Thanks!
-Adam
I believe that “problem” could be with WP 2.5 rather than EC3. Duplicate categories (common with child categories) and tag names are no longer allowed. You might want to check that reference and see if it applies to you.
John, thanks for the tip, but I dont think that duplicate categories are the culprit. I actually did have a subcategory “all events” which was blanket for all events, because at some point my main events category was behaving strangely. I deleted this subcategory, so that each event is only in one category (events / venue name), but this doesnt seem to have an effect on the sorting problem. I installed the patch from sourceforge, and now unfortunately Im getting the 404 when clicking on dates with events in the sidebar calendar module. Is there a fix for that- I see mention of that issue in the comments on the EC3 page, but it sounds as if the patch was supposed to have repaired that issue. I wasnt getting that phenom before. Thanks for your help John.
Adam, I’m looking at your blog and I strongly suggest you change your permalinks structure. You use a Post Name Only structure which just doesn’t work with calendar functions.
The calendar sidebar module is forming the queries properly so I don’t think the problem is EC3.
John, which format would you suggest? Ive been using /%category%/%postname%. Im currently reverting to a fresh install of EC3 and re-running the patch to get back to a baseline. Thanks for your help.
Pretty Permalinks assuming your web server can support it. Most can.
Yeah, thats what Ive been using. I have just finished doing a fresh install and performing the patch (had someone working on this who didnt do the patch for the JS), and now everything is back to functional, but I still have the problem that within my events subcategories the events sort by ID not by start-date like they do in the main events category:
http://wp.dclevel.com/category/events
vs.
http://wp.dclevel.com/category/events/club-ibiza
Would it work better to organize events with tags instead of subcategories within my main events category?
Thanks again John- I’d be happy to paypal some coin or make a donation to a tip jar…
Adam,
Using tags rather than subcategories is a GREAT idea. On my selfhosted blog, I use tags to show both events and posts. The events are sorted properly. Keep in mind, EC3 3.1.1 RC3 doesn’t support tags out of the box but I wrote a simple patch that will show EC3 Events on Tag Archive pages. The patch is a bit of overkill since there’s backward compatibility which won’t be an issue for you since you’re using WP 2.5. You could just add
$wp_query->is_tag
as another OR statement on line 141 of eventcalendar3.php.You are very kind to offer. I’ve been helped by so many folks around here, I’m just happy to give back. Or maybe you could take a look at an outdated banner I don’t have the creativity to make look better. 🙂
John,
I have implemented the patch for tag use, but these still list ordered by something other than the start_date.
http://wp.dclevel.com/tag/ibiza
Im at a loss. Its strange to me that the main events category is sorting correctly but everything else is sorting by another attribute. Any ideas? Shoot me your banner file and I’d be happy to take a look. My gmail is adambundy…
Thanks! -Adam
Adam…check your email.
Pingback: A Guilty Pleasure
How do I apply the patch? Is there a fixed version eventcalendar3.php available? Thanks.
@Franklin…try this. It should clear up any confusion.