| Wordpress Information about integrating the calendar with the Wordpress Content Management System. |
 |
Month not changing |
 |
01-31-2010, 01:04 AM
|
#1
|
|
Calendar User
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
|
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?
|
|
|
|
 |
01-31-2010, 02:16 AM
|
#2
|
|
Calendar User
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
|
|
|
|
|
01-31-2010, 03:39 AM
|
#4
|
|
Calendar User
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
|
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.
|
|
|
|
01-31-2010, 08:00 AM
|
#5
|
|
Support Team
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,458
|
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.
|
|
|
|
02-01-2010, 02:02 PM
|
#6
|
|
Calendar User
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
|
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...
|
|
|
|
02-01-2010, 02:38 PM
|
#7
|
|
Calendar User
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
|
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.
|
|
|
|
02-01-2010, 05:19 PM
|
#8
|
|
Support Team
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,458
|
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.
|
|
|
|
02-01-2010, 05:54 PM
|
#9
|
|
Calendar User
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
|
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.
|
|
|
|
02-01-2010, 06:24 PM
|
#10
|
|
Calendar User
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
|
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");
?>
|
|
|
|
02-01-2010, 08:42 PM
|
#11
|
|
Support Team
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,458
|
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.
|
|
|
|
02-01-2010, 11:43 PM
|
#12
|
|
Calendar User
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
|
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?
|
|
|
|
02-02-2010, 06:53 AM
|
#13
|
|
Support Team
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,458
|
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.
|
|
|
|
02-02-2010, 09:32 AM
|
#14
|
|
EPC Developer
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 9,977
|
Tested in Firefox and IE and it's working for me.
|
|
|
|
02-22-2010, 01:18 PM
|
#15
|
|
Calendar User
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
|
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?
|
|
|
|
02-22-2010, 02:16 PM
|
#16
|
|
EPC Developer
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 9,977
|
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?
|
|
|
|
02-22-2010, 02:34 PM
|
#17
|
|
Calendar User
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
|
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.
|
|
|
|
02-22-2010, 02:40 PM
|
#18
|
|
EPC Developer
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 9,977
|
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?
|
|
|
|
02-22-2010, 02:53 PM
|
#19
|
|
Calendar User
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
|
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.
|
|
|
|
02-22-2010, 03:28 PM
|
#20
|
|
EPC Developer
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 9,977
|
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...
|
|
|
|
02-22-2010, 07:01 PM
|
#21
|
|
Support Team
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,458
|
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.
|
|
|
|
03-04-2010, 02:52 AM
|
#22
|
|
Calendar User
godfathersoul is offline
Join Date: Apr 2008
Posts: 18
|
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.
|
|
|
|
03-04-2010, 09:58 AM
|
#23
|
|
EPC Developer
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 9,977
|
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.
|
|
|
|
03-04-2010, 02:59 PM
|
#24
|
|
Calendar User
SteveS is offline
Join Date: Dec 2009
Posts: 9
|
Quote:
Originally Posted by Brian
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 08:58 PM.
|