Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > Integration > Wordpress

Wordpress Information about integrating the calendar with the Wordpress Content Management System.

Closed Thread
 
Thread Tools Search this Thread Display Modes

Permalinks messing up EPC navigation
Old 10-27-2009, 10:05 PM   #1
north
Calendar User
 
north is offline
Join Date: Aug 2009
Posts: 21
Default Permalinks messing up EPC navigation

Greetings all.

In integrating EPC with WordPress, I failed to see in the tutorial that WordPress should have default permalinks turned on, or else navigation won't work properly. What happens is WordPress reloads the home page rather than the current page whenever the calendar navigation buttons are clicked.

I don't think my client will be OK with the default permalinks-- they need SEO-friendly permalinks (which is just /%postname%) in WordPress. Is there any way at all to get EPC to work with this? Please help! If I can't get this to work I may have to drop EPC and try to find something else...which would be a real shame since EPC works well otherwise.

Thanks

NorthK
 

Old 10-28-2009, 06:42 AM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Quote from the Tutorial...
Quote:
Let’s start easy with setting up the proper permalink structure. Go to your WP administration interface, in the Settings section, and then Permalinks. You will have to use the “Default” setting. This is so that the calendar navigation work. Using any of the other modes and you will not be able to navigate to different months.
It is a known issue with no resolution thus far.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 10-28-2009, 11:34 AM   #3
north
Calendar User
 
north is offline
Join Date: Aug 2009
Posts: 21
Default

Hi Ve9gra,

Well, I think I may have got EPC to work with SEO-friendly links. See http://www.highintegritydesign.com/test/uos/. What I did is use /%postname%/%post_id%/ as the permalink structure in WordPress.

This gives me a link structure like mysite.com/about-me and when I navigate using the calendar, mysite.com/about-me/?mo=11&yr=2009. These are perfectly fine for SEO! I'm not sure why the post_id is not showing up at the end of the permalink...but it seems to work.

Do you see any potential problems with this? If this is really working, I think I should get a Special Star I'd really appreciate if you had time to try this on your site and confirm it works for you too.

There is one thing still broken-- on the full-sized calendar, the drop-down and Go button for going to a specific date doesn't work. Is there a way to disable just the drop-down and Go button but keep the forward, back and Today buttons? Perhaps there's a way to do this n EPC, or perhaps I can set display:hidden for those fields (haven't looked at the code yet to see if that's possible).


Thanks,

NorthK
 

Old 10-28-2009, 12:51 PM   #4
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

This would appear to work for your situation only. You must have a URL rewrite in place that removes the index.php from the URL.

The trick with the TOC is that the form is using POST variables, compared to GET variables. Since WP parses all POST variables and finds no use for them, it discards them before EPC gets to use them. And the form can be hidden using CSS (I know there's a post somewhere, but I think it was to hide the whole navigation area).

If it's working for your setup, and you don't get any issues or errors being logged, then keep it as-is. But remember... integrations in content management systems (CMS) are not officially supported.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 10-28-2009, 01:03 PM   #5
north
Calendar User
 
north is offline
Join Date: Aug 2009
Posts: 21
Default

Hi Ve9gra,

I'm not doing anything fancy regarding URL rewriting. I'm using the .htaccess file that is automatically generated by WordPress (which does do URL rewriting-- but it's the standard WordPress method). I'm wondering if you've tried this using the permalink structure I'm using, or if you would be willing to try this on your site to see if it works there?

Thanks,

NorthK
 

Old 10-28-2009, 09:29 PM   #6
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

I don't have EPC on my own website, and haven't installed WP on my dev box since I ditched my Ubuntu box and traded it in for a MacBook Pro.

But as Andrew Zimmern says "If it looks good, eat it"... so if it works for you, use it
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ajax - duplicate navigation Dylan General Support 2 01-23-2009 10:35 AM
Navigation Start Date in Set up Module karnesb General Support 1 10-19-2008 05:14 PM
Integrating EPC into a Wordpress sidebar Mad Dog Wordpress 31 10-03-2008 05:03 PM
EPC with Exponent CMS cpw General Support 5 08-01-2006 06:05 PM



All times are GMT -4. The time now is 07:26 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |