1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. To combat forum spam, we are temporarily disabling the ability to create new accounts for the forums. Please feel free to open a support ticket through out client area with any support issues. You can also search the forums for answers to many questions.

Navigation Error IN Calendar

Discussion in 'General Support' started by JJenson, Aug 25, 2010.

Thread Status:
Not open for further replies.
  1. JJenson

    JJenson New Member

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


    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.

  2. Brian

    Brian EPC Developer Staff Member

  3. JJenson

    JJenson New Member

    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/ ?
  4. Brian

    Brian EPC Developer Staff Member

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

    ve9gra Support Team

    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/".
  6. JJenson

    JJenson New Member

    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.
  7. ve9gra

    ve9gra Support Team

    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.
  8. JJenson

    JJenson New Member

  9. Brian

    Brian EPC Developer Staff Member

    You're going to need to find the real file name and use that.
  10. JJenson

    JJenson New Member

    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.
Thread Status:
Not open for further replies.

Share This Page