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

Events not displaying in Wordpress
Old 04-22-2008, 05:57 PM   #1
godfathersoul
Calendar User
 
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
Default Events not displaying in Wordpress

I am having some trouble with the calendar set up. The calendar that I am using is here: http://bamboodancer.com/bamboo/eventcalendar/

It is placed inside of a wordpress blog. The calendar itself is embedded in the page template. Everything appears to be working fine from the looks of it (although the event that is displayed was posted in the wordpress post itself). However, when the event is clicked on a 404 Error page is displayed.

The proper info however can be seen here:
http://bamboodancer.com/bamboo/calendar/

While I have set up several of these calendars, I've never had this problem before. Can anyone tell me why the calendar is not displaying info properly in the post as it is supposed to?

Thanks!
 

Old 04-22-2008, 08:32 PM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Just before calling the calendar, add the following
PHP Code:
$thisFile="/eventcalendar"
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 04-23-2008, 01:28 AM   #3
godfathersoul
Calendar User
 
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
Default

thank you for the quick response but I'm not sure I follow you and, if i did, i'm not sure it did what it was supposed to do.

To be clear:

The file structure is:
-Wordpress
---Blog
---Calendar

Pages show up as "http://www.SiteName.com/Wordpress/Page/" because of the way the drop down menus work and choosing various page parents. But that is another thing...

So when I made the addition of "$thisFile="/eventcalendar";" to the code such that:
<?php
$thisFile="/eventcalendar";
$EPCBLOG=1;
require ("calendar/calendar.php");
?>
I get a not found page. Putting the phpp code anywhere else results in a Not Found page.

But when i change "/eventcalendar" to "../calendar" I get, instead, this page:
http://bamboodancer.com/bamboo/calen...6&mo=4&yr=2008
- a blank, unstyled page with the calendar and blog format, as it should show up on the Wordpress calendar page.

Suggestions?
 

Old 04-23-2008, 06:05 AM   #4
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

The goal is to get to this...

http://bamboodancer.com/bamboo/event...6&mo=4&yr=2008
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Update to Events not displaying
Old 05-12-2008, 04:07 PM   #5
godfathersoul
Calendar User
 
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
Default Update to Events not displaying

Hi,
I finally got back to this and...

The events do display now, but when the user clicks on the arrows of the calendar navigation to view other months, they are booted to an unformatted page that simply displays the default calendar display without any of the other website graphics. Why does this happen and how can i correct it? Thank you!
 

Old 05-13-2008, 06:22 AM   #6
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Same as before. You need to set $thisFile="/eventcalendar"; before the small calendar is displayed.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Changing "next" and "rev" link structure
Old 05-30-2008, 06:09 PM   #7
godfathersoul
Calendar User
 
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
Default Changing "next" and "rev" link structure

Hi,
So while I've been moderately successful with the previous issues, what I find is the biggest issue is displaying other months.

The event calendar is:
http://bamboodancer.com/bamboo/eventcalendar
where "bamboo" is the root folder for Wordpress and "eventcalendar" is the calendar name. EPC is installed in "bamboodancer.org/bamboo"

however, when "next" and "prev" are clicked on, the URL changes to:
http://bamboodancer.com/eventcalendar?mo=6&yr=2008
- taking out the "bamboo" part.

Where/how can I change the basic structure of the next and prev buttons?

I would also like to add that I understand the way EPC works with the default permalink structure. The navigation and parent pages (and subsequent link structure) was set up before EPC was installed however.

The basic code for the prev and next buttons is:

Quote:
<input name="epcprev" type="button" id="epcprev" value="<<" class="formButtons" onClick="location='/eventcalendar?mo=4&amp;yr=2008'" >
<input name="next" type="button" id="next" value=">>" class="formButtons" onClick="location='/eventcalendar?mo=6&amp;yr=2008'" >
so it seems to need "bamboo" inserted before "/eventcalender". I was unable to find where i could edit this. Suggestions?

Last edited by godfathersoul; 05-30-2008 at 06:28 PM.
 

Old 05-30-2008, 06:36 PM   #8
godfathersoul
Calendar User
 
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
Default

scratch that entire part above...

I changed
$thisFile="/eventcalendar";
to read
$thisFile="bamboo/eventcalendar";

Thanks for making a great calendar. I know it wasn't intended to work with WP but it's great that it can be made to. Thanks again.
 
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
Displaying Events jaegerhof Installation / Upgrade Questions 3 02-25-2008 08:42 AM
Events not Displaying in Blog + List View strobogirl Customizations (Themes / Templates) 4 05-23-2007 12:30 PM
Events not displaying with MySQL database verysimple General Support 5 03-09-2007 06:33 PM
Displaying events for a single day. Kevin Sours General Support 7 10-27-2006 06:39 AM
Listing module not displaying one time events ethniccheese General Support 1 07-21-2004 01:24 PM



All times are GMT -4. The time now is 09:16 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 |