Hello. I want to add a new field in Orders Delivery Page. The field it's "Date of delivery". For this, i download this script: http://www.dynamicdrive.com/dynamicindex6/popcalendar2.htm I edit the orders_delivery.tpl, and paste this code in the body: <tr> <th> $lang[DateD]: </th> <td> <form name="sampleform"><input type="text" name="firstinput" size=20><small><a href="javascript:showCal('Calendar1')">Select Date</a></small> </form> </td> </tr> ______ In the top of file, i add: <script type="text/javascript" src="$config[dir_js]cal2.js"></script> <script type="text/javascript" src="$config[dir_js]cal_conf2.js"></script> (the original text is: <script type="text/javascript" src="cal2.js"></script> <script type="text/javascript" src="cal_conf2.js"></script>) I copy the files in shop/js directory. When i want to click on "Select Date", i see an error: "Form [sampleform] is not found". Where is the error? After i see the script at work, i define a value, $aData[sDateD]
mad
2006-10-17 22:12
I use another script, same problem. Where to copy the js files? If i copy to /js, doesn't work.