Hi,
I have installed the calendar snippet following advice from kumazatheef and pixelchutes (see above).
I now get another error:
PHP error debug
Error: Invalid argument supplied for foreach()
Error type/ Nr.: Warning - 2
File: assets/snippets/calendar/calendar.db.class.php
Line: 235
Line 235 source: foreach($dataTemp as $key=>$value) {
I’m not sure what to do here...can anyone offer any advice?
Thanks
www.9thwave.co.uk
WEB | DESIGN | PRINT
It’s ok...i reinstalled everything again from a zip file in one of the posts rather than from the first posts and it works.
I’ve changed quite a few things on the calendar.class.php in order make it validate and also had to change the ’&’ to ’&’ on the tpl script in order for it to validate. You can find the two lines at the bottom of the file.
Other than that i have absolutely no idea how to use this calendar so any info on how to enter dates will be much appreciated. I actuall y only want to be able to colour code the days to display either days booked or not booked...they don’t need to be links.
Can this be done within the manager or some easy to use admin?
Thanks
Just to note...this thread has been picked up here:
http://modxcms.com/forums/index.php/topic,18341.0.html
www.9thwave.co.uk
WEB | DESIGN | PRINT