The calendar is a plug module which I don't support beyond very basic installation issues.
/* Copyright Mihai Bazon, 2002-2005 | www.bazon.net/mishoo
* ---------------------------------------
*
* The DHTML Calendar, version 1.0 "It is happening again"
*
* Details and latest version at:
* www.dynarch.com/projects/calendar
*
* This script is developed by Dynarch.com. Visit us at www.dynarch.com.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am getting the following error from my script and as a result the calander function is not working:
The code on this line shows:
Can anyone tell me where I am going wrong.
Thanks
Julian
You can not call the Calendar.Setup function without loading the javascript files in the html header.
<head>
<title>Book Visit - created by phpFormGenerator</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link href="style.css" rel="stylesheet" type="text/css">
<!- calendar stuff ->
<link rel="stylesheet" type="text/css" href="calendar/calendar-blue2.css" />
<script type="text/javascript" src="calendar/calendar.js"></script>
<script type="text/javascript" src="calendar/calendar-en.js"></script>
<script type="text/javascript" src="calendar/calendar-setup.js"></script>
<!- END calendar stuff ->
Thanks for the reply. I am already loading these files in the header.
Any other suggestions?
Regards
Julian
Please accept my apologies.
I have just double checked and the js files were not in the header.
Thanks for the advice. Its all working now.
Regards
Julian
One other question.
How can I get the output to read dd/mm/yyyy as opposed to what it is at the moment mm/dd/yyyy.
Thanks
The calendar is a plug module which I don't support beyond very basic installation issues.
/* Copyright Mihai Bazon, 2002-2005 | www.bazon.net/mishoo
* ---------------------------------------
*
* The DHTML Calendar, version 1.0 "It is happening again"
*
* Details and latest version at:
* www.dynarch.com/projects/calendar
*
* This script is developed by Dynarch.com. Visit us at www.dynarch.com.