Easy PHP Calendar Script

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

Month not changing
Old 01-31-2010, 01:04 AM   #1
godfathersoul
Calendar User
 
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
Default Month not changing

I have successfully integrated the calendar into blogs before but this time around - using the most recent version of the calendar - it seems near impossible.

I have been through all of the forums as well as the tutorials a dozen times as well...

The main thing is:
in blog mode, it successfully lists the events for the current day.

Using the simple calendar seems to only present a calendar that starts with Feb (today is still Jan) and doesn't change when clicking the left or right arrows - although the permalink/URL does change. Weird. I've played with the WP permalinks and setting it to the default structure doesn't affect the calendar at all.

Ideally, I would like to show the calendar as well as the "List Mode" - for the current month that one is on and allow the user to scroll through the current events... You know, ideal list mode.

How can i get this to happen?

I have this in the header:
<?php
$CSS=1; require("calendar/calendar.php");
$thisFile="events-calendar"; ?>

and this in the body:

<?php require ("calendar/calendar.php"); ?>

<?php
$LIST=1;
$DF = "D - M d";
$template="monthly.php";
require ('calendar/calendar.php');
?>

Suggestions?
 

Old 01-31-2010, 02:16 AM   #2
godfathersoul
Calendar User
 
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
Default

by the way, the calendar is here: http://templeofvisions.com/events-list
 

Old 01-31-2010, 02:22 AM   #3
godfathersoul
Calendar User
 
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
Default

after poking around for a while longer here i think i found the solution here:

http://www.easyphpcalendar.com/forum...ght=navigation
 

Old 01-31-2010, 03:39 AM   #4
godfathersoul
Calendar User
 
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
Default

alas however that was not quite a solution. Although the monthly calendar wiull respond to the navigation buttons, clicking on any particular date won;t do anything.... So it seems i'm back to the beginning. Any help would be great.
 

Old 01-31-2010, 08:00 AM   #5
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,458
Default

The $thisFile should be right before the calendar... I suspect that the variable is getting lost before the calendar can use it. I don't think you should need to have your own navigation table.

Is it intentional to make the calendar start in Feb? If not, you likely have a variable called $mo getting set to 2.

As for the clicking on days, only the Blog mode does that. Since you're using the regular mode calendar, the behavior you're seeing is expected.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 02-01-2010, 02:02 PM   #6
godfathersoul
Calendar User
 
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
Default

So, i changed it from list mode to blog mode... this is my code:

in the head:
<?php $thisFile="/events-list";
$CSS=1; require("calendar/calendar.php");
?>

in the body:
<?php
$EPCBLOG=2;
$template="blog.php";
$DF = "l, F j, Y";
require ("calendar/calendar.php");
?>

and

<?php $EPCBLOG=1; $thisFile="/events-list"; require ("calendar/calendar.php"); ?>

With that I can't seem to scroll through the months on the month-by-month calendar. However, although clicking on individual days for February does show those days, the other test events I put in don't show up on the calendar. For example - clicking on Feb. 18th will show you that event but the color-coded event doesn't show up on the calendar. is this because of licensing? I just purchased a full license so we'll see how that goes...
 

Old 02-01-2010, 02:38 PM   #7
godfathersoul
Calendar User
 
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
Default

removing $thisFile="/events-list"; from

<?php $EPCBLOG=1; $thisFile="/events-list"; require ("calendar/calendar.php"); ?>

has gotten the calendar to change months but it is still not showing more than one event on the calendar - there are several events entered but only one shows. It is the same on the admin area - only one event shows up although I've entered several different events.
 

Old 02-01-2010, 05:19 PM   #8
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,458
Default

That is because of a license key error... You're either using a different domain than what you registered, or your trial has expired. You can see it here http://templeofvisions.com/calendar/

I don't know why it is not displaying on your page, but FYI, if you have made modifications to hide the copyright notice and the key error, that is in breach of the license agreement.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 02-01-2010, 05:54 PM   #9
godfathersoul
Calendar User
 
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
Default

ok, that makes sense. I submitted payment today for a license for the calendar. didn't realize i had the order # sent... that is now completed.
 

Old 02-01-2010, 06:24 PM   #10
godfathersoul
Calendar User
 
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
Default

However,
I still end up not being able to scroll through months.
Using this:
<?php
$EPCBLOG=2;
$template="blog.php";
$DF = "l, F j, Y";
require ("calendar/calendar.php");
?>

<?php $EPCBLOG=1; require ("calendar/calendar.php"); ?>

...I get a calendar that I can click on and see the info for that day but can't go to the next month.

Using this:
<?php
$LIST=1;
$DF = "M jS, Y (D)";
$template="monthly.php";
require("calendar/calendar.php");
?>

<?php require("calendar/calendar.php"); ?>

I get a list of the months events but also can't scroll through the calendar.

In both cases, this is in the header:
<?php $thisFile="/events-list";
$CSS=1; require("calendar/calendar.php");
?>
 

Old 02-01-2010, 08:42 PM   #11
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,458
Default

Works fine from here.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 02-01-2010, 11:43 PM   #12
godfathersoul
Calendar User
 
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
Default

I see now that the problem only appears in Firefox both on Mac and PC. When I use Safari (Mac) the months will change. This is for both the blog and list modes.

You can see the blog mode here:
http://templeofvisions.com/events/

You can see the list mode here:
http://templeofvisions.com/events2/

Both use the most rudimentary version of entering the calendar code - copypasted from the docs. As it works in Safari but not Firefox then it would seem that the code is correct.

Can you offer a fix for this?
 

Old 02-02-2010, 06:53 AM   #13
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,458
Default

Works fine here again.... Clear your Firefox cache.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 02-02-2010, 09:32 AM   #14
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 9,977
Default

Tested in Firefox and IE and it's working for me.
__________________
-- Brian

Questions?

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

Old 02-22-2010, 01:18 PM   #15
godfathersoul
Calendar User
 
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
Default

So I am back working on this and, with cache cleared it works fine.
Just once.

Then it goes back to displaying March on loading and won't scroll through the months. If i have to clear my cache every time I want to use it then this is obviously broken and other users won't be able to successfully use it.

it does work fine in Safari but in Firefox on a Mac something is broken... any ideas?
 

Old 02-22-2010, 02:16 PM   #16
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 9,977
Default

I just retested on two different computers with FF, IE and Chrome and I don't have any issues at all with navigation on your site.

It could be a plugin in FF that you're using that causing the issue?
__________________
-- Brian

Questions?

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

Old 02-22-2010, 02:34 PM   #17
godfathersoul
Calendar User
 
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
Default

Very interesting...
I disabled various add-ons and it allowed me to scroll through days for a moment but then stopped and would just land me on dates in March. When i click "Today" it shows me this. At that point, more or less, it no longer allows me to go forward or back any months.
 

Old 02-22-2010, 02:40 PM   #18
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 9,977
Default

Try starting FF in Safe Mode.

Do you have anyone saying this is happening to them too?

If you view the demoBLOG.php file in the calendar directory, due it happen there too?
__________________
-- Brian

Questions?

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

Old 02-22-2010, 02:53 PM   #19
godfathersoul
Calendar User
 
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
Default

Restarting in SafeMode doesn't change how it works.

demoBlog.php works fine, as seen here:
http://templeofvisions.com/calendar/demoBlog.php

I've heard from others that it doesn't work on their PC in firefox.
 

Old 02-22-2010, 03:28 PM   #20
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 9,977
Default

If the demoBlog.php is working, then something else on the page is causing this issue (not the calendar). It could some other code or possibly Javascript.

This is not an issue we see with the calendar itself, as you can see from the demo page, the calendar is functioning normally.

You should try removing any other "code" from your custom page and see if it eliminates the issue for you.

I still can't replicate this on any browser/computer...
__________________
-- Brian

Questions?

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

Old 02-22-2010, 07:01 PM   #21
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,458
Default

Looking at your live page and comparing with the screenshot... seems that you've removed the month header above the event list... Wonder your issue wasn't caused by that because I simply cannot replicate this issue... tried all combinations of WinXP, Mac, IE, Firefox, Safari.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 03-04-2010, 02:52 AM   #22
godfathersoul
Calendar User
 
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
Default

Not really sure what to say... no matter what I do, it's still the same - i took out everything but the calendar code - leaving a pretty blank page - and it still refused to advance or move back a month and would only display the next month (at this point, April).

I also installed the most recent version of EPC and that didn't help. It does look fine in Safari but FFox is a no go. Frustrating.

Also, the month heading is there, just as it is in the screenshot. I may have taken it off in testing but it's back and didn't seem to change anything.
 

Old 03-04-2010, 09:58 AM   #23
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 9,977
Default

Did you try starting FF in safe mode (it disables all add-ons and they will automatically be restarted the next time you open FF)?

Anyone else that sees this thread, please help test this and report if you have any issues.
__________________
-- Brian

Questions?

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

Old 03-04-2010, 02:59 PM   #24
SteveS
Calendar User
 
SteveS is offline
Join Date: Dec 2009
Posts: 9
Default

Quote:
Originally Posted by Brian View Post
Anyone else that sees this thread, please help test this and report if you have any issues.
Works fine (changes months) for me using FF 3.6. Blog mode events are displayed OK. No pop-ups are displayed.

Last edited by SteveS; 03-04-2010 at 03:03 PM.
 
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
Page refresh when changing month richard@ivylane.com General Support 5 04-30-2008 08:26 PM
Display The Calendar Starting At The Current Month And Not The Previous Month guylevy General 6 04-04-2008 07:59 PM
changing default URLs for month to month navigation greenhodge Installation / Upgrade Questions 2 08-10-2007 10:23 AM
month not changing lola General Support 9 12-08-2003 03:41 PM
Month not changing? Brian General Support 9 12-01-2003 10:43 PM



All times are GMT -4. The time now is 08:58 PM.


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

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