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

Wordpress issue: Events not showing
Old 07-28-2012, 09:08 PM   #1
traceable
Calendar User
 
traceable is offline
Join Date: Oct 2006
Posts: 20
Default Wordpress issue: Events not showing

Obviously, I've missed a step so help will be much appreciated.

This is the page using the calendar template created (hopefully) following the epc tutorial:
http://recreation.harriscountyga.gov/?page_id=22

It shows the categories but no events.

This is the calendar page outside of wordpress:
http://recreation.harriscountyga.gov/calendar.php

Thank you in advance!
Tracie
 

Old 07-28-2012, 09:18 PM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

I had a quick look and found that the $CSS line hasn't been place in the right section... It should be placed before the closing </head> tag... not the opening <head> as it is now.

As for the events not being displayed, I'll need to see the code you used in the template because you can see that the sidebar calendar does show the events... It's just the part that is in the page template.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 07-28-2012, 09:24 PM   #3
traceable
Calendar User
 
traceable is offline
Join Date: Oct 2006
Posts: 20
Default

I moved the $css line. Thanks.

FYI: I'm using the Twenty Twelve Theme.

Let me know if this isn't the best way to show you the code:

<?php

/**

* Template Name: Calendar Page

* Description: A Page Template with code for the EasyPHPCalendar

*

* @package WordPress

* @subpackage Twenty_Eleven

* @since Twenty Eleven 1.0

*/



get_header(); ?>



<div id="primary">

<div id="sidebar-page-custom"><!-- custom class, makes styling comments easier -->

<div id="content" role="main">


<?php

require("calendar/calendar.php");

?></td>
<td width="50%" align="left">

<?php require("calendar/plugins/filter.php"); ?>
<?php $epcMultiCatShow=1; ?><?php require("calendar/plugins/legend.php"); ?>

<?php

// SHOW LISTINGS MODULE

$LIST=1;

$DF = "M jS, Y (D)";

$template="modern.php";

require("calendar/calendar.php");

?>

</div><!-- #content -->

</div><!-- #sidebar-page-custom -->

</div><!-- #primary -->



<?php get_sidebar(); ?>

<?php get_footer(); ?>
 

Old 07-28-2012, 09:31 PM   #4
traceable
Calendar User
 
traceable is offline
Join Date: Oct 2006
Posts: 20
Default

Make that Twenty Eleven theme.
 

Old 07-28-2012, 10:00 PM   #5
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

Ok, I see something, but I don't know what's causing it.

See the calendar in your page section... it's missing the month in the header. I've never seen this before. And the weird thing is that the calendar in the sidebar is just fine.

I may need Brian's help here to troubleshoot this one.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 07-28-2012, 10:06 PM   #6
traceable
Calendar User
 
traceable is offline
Join Date: Oct 2006
Posts: 20
Default

Thank you.

In case it's of importance:
There are two instances of EPC on this account. One at harriscountyga.gov (older version that I haven't upgraded nor tried to integrate) and this one at recreation.harriscountyga.gov

I said I was using the Twenty Eleven theme but it's actually NomNom which is a child theme of Twenty Eleven.
 

Old 07-28-2012, 10:41 PM   #7
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

Is the path in the require() used for the sidebar the same as the ones used in the page template? Could you have referenced the other install?

I doubt that you've done so since it wouldn't explain the missing month in the header... I'm just grasping at straws.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 07-29-2012, 08:36 PM   #8
traceable
Calendar User
 
traceable is offline
Join Date: Oct 2006
Posts: 20
Default

Sidebar <?php $noNav="1"; require("calendar/calendar.php"); ?>
Header <?php $CSS=1; require("calendar/calendar.php"); ?>

It's not good to have stumped you...
 

Old 07-30-2012, 06:54 AM   #9
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

Brian, do you have any insight as to why the month wouldn't show up in the header?
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 07-30-2012, 10:11 AM   #10
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,906
Default

Something is clearing the variable along the way. I even have checks in the code that if the variable doesn't exist to load it again. But that isn't getting triggered. I'll need to dig around to see why this may be happening. In the meantime, I can only recommend the trusty iframe implementation.
__________________
-- Brian

Questions?

Instructions | FAQs | Errors FAQ | Forums | Support
| Web Site Hosting
 

Old 07-30-2012, 08:18 PM   #11
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

I second the iframe solution. This would allow for the site to work immediately without any further troubleshooting required. Simply iframe to the same link that you used under the sidebar calendar.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 07-31-2012, 11:20 AM   #12
traceable
Calendar User
 
traceable is offline
Join Date: Oct 2006
Posts: 20
Default

I had an iFrame but removed it so you can trouble shoot. The site is live but not advertised yet so we have a little time.
Please let me know what you find.
Thanks!
 

Old 08-05-2012, 01:26 PM   #13
traceable
Calendar User
 
traceable is offline
Join Date: Oct 2006
Posts: 20
Default

Any ideas?
Thanks.
 

Old 08-05-2012, 05:06 PM   #14
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,906
Default

Until we can find what is deleting the variables in WP, you'll need to use an iFrame. Keep an eye out for updates that may find a way around this in the future.
__________________
-- Brian

Questions?

Instructions | FAQs | Errors FAQ | Forums | Support
| Web Site Hosting
 
Closed Thread

Tags
wordpress template

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
(2) Add Events areas, (1) on EasyPHPCalendar & (1) on Wordpress Admin Area- HELP eZCal Wordpress 1 04-15-2010 06:34 AM
wordpress issue mrp Wordpress 6 10-20-2009 06:49 PM
no events showing in blog mode wildwood General Support 3 09-11-2006 08:13 PM
Repeating events not showing hbcrosby General Support 14 03-31-2006 09:35 AM
Showing events in from previous and next months in TOC. charlotte21 General Support 9 03-30-2005 09:25 AM



All times are GMT -4. The time now is 09:33 PM.


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 |