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


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

Navigation Error IN Calendar
Old 08-25-2010, 05:02 PM   #1
JJenson
Calendar User
 
JJenson is offline
Join Date: Mar 2007
Posts: 28
Default Navigation Error IN Calendar

If you click a month in the drop down and then click go this page errors out and does not work.

http://www.pantrysecrets.net/classes...handra-wendel/

Also the right and left arrows work for some and others it does the same things as the above problem I am not sure how to make the links work for this? Any ideas where the error is coming from?

This is inside of wordpress but everything else works perfectly.

Thanks
Jeff
 

Old 08-25-2010, 08:04 PM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,879
Default

You'll need to set $thisFile.

https://www.easyphpcalendar.com/supp...kbarticleid=56
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 08-25-2010, 08:13 PM   #3
JJenson
Calendar User
 
JJenson is offline
Join Date: Mar 2007
Posts: 28
Default

What if there is no filename? basically its all done by directories in wordpress. So the url I gave you earlier would be everything but would end with a /folder/ ?
 

Old 08-25-2010, 08:29 PM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,879
Default

There is a file name. But you can try using just "/" and see if that will work.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 08-25-2010, 09:07 PM   #5
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

You'll have to code it so that the $thisFile is generated at run-time. For the example you posted, it should end up being "/classes-instructors/shandra-wendel/".
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 08-26-2010, 01:32 AM   #6
JJenson
Calendar User
 
JJenson is offline
Join Date: Mar 2007
Posts: 28
Default

Quote:
Originally Posted by ve9gra View Post
You'll have to code it so that the $thisFile is generated at run-time. For the example you posted, it should end up being "/classes-instructors/shandra-wendel/".
Not sure how to do this I am not a php guy this is what I got in my code this does not work:

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

But it has to be dynamic cause shandra-wendel folder is just one of about 30 calendar filters I have going one for each teacher. I hope this makes sense.

If not go to the classes-instructors page and then search 20 miles within 84062 and you will see all the different teachers all with their own calendar.

Thanks for the help guys.
 

Old 08-26-2010, 07:18 AM   #7
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

The $thisFile should not be in the $OL line.... It should be before the require that displays the calendar.

As for what to put in $thisFile, "/" definitely won't work. Not for your case anyways. It's likely that the required variables are already available to you directly from WordPress, otherwise you can get it from the URL with a little manipulation.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 08-27-2010, 06:10 PM   #8
JJenson
Calendar User
 
JJenson is offline
Join Date: Mar 2007
Posts: 28
Default

OK this does not work when I include this code in the page:

$thisFile="/";$TOC="1"; $showCat="31"; require("calendar/calendar.php");

it takes this url:

http://www.pantrysecrets.net/classes...handra-wendel/

and redirects it to:

http://www.pantrysecrets.net/

THe problem is the /shandra-wendel/ will always be different any other ideas?

Thanks

Jeff
 

Old 08-28-2010, 12:06 PM   #9
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,879
Default

You're going to need to find the real file name and use that.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 08-28-2010, 03:14 PM   #10
JJenson
Calendar User
 
JJenson is offline
Join Date: Mar 2007
Posts: 28
Default

I set the $thisFile="#" and then made the display on the previous and next buttons to none and this fixed the problem. When using the # it made the next and previous unusable.

Thank for the help guys.
 
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
TOC Calendar Navigation Issues cccmyouth General Support 1 02-06-2010 11:16 PM
Calendar navigation colors Alberta Customizations (Themes / Templates) 2 06-30-2008 05:36 PM
Mini calendar + List view = broken navigation acdems General Support 2 06-30-2007 06:56 PM
Calendar Navigation gmrobert General 1 12-18-2006 06:17 PM
Calendar display after using navigation hercomserv Installation / Upgrade Questions 2 04-04-2006 07:26 PM



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