To block weekends I know I need to include:
"blocked: ['0 * * 0,6']," in some code somewhere. Could someone let me know where to put this? I have tried calendar.js and calendar2.js. If someone coud clear this up with explicit newbie instructions I would really appreciate it. I'm not even sure if I do this by editing a file via FTP or within the chronoforms extension in the joomla backend.
I would also like to block Scottish bank holidays but this is not as important as weekends.
Thanks a lot.
Scottish bank holidays:
Date Holiday Type
03 Jan 2011 New Year's Day Bank Holiday
04 Jan 2011 2nd January Bank Holiday
22 Apr 2011 Good Friday Bank Holiday
02 May 2011 May Day (Early May Bank Holiday) Bank Holiday
30 May 2011 Spring Bank Holiday Bank Holiday
29 Aug 2011 Summer Bank Holiday Bank Holiday
26 Dec 2011 Boxing Day Bank Holiday
27 Dec 2011 Christmas Bank Holiday
31 Dec 2011 Hogmanay
"blocked: ['0 * * 0,6']," in some code somewhere. Could someone let me know where to put this? I have tried calendar.js and calendar2.js. If someone coud clear this up with explicit newbie instructions I would really appreciate it. I'm not even sure if I do this by editing a file via FTP or within the chronoforms extension in the joomla backend.
I would also like to block Scottish bank holidays but this is not as important as weekends.
Thanks a lot.
Scottish bank holidays:
Date Holiday Type
03 Jan 2011 New Year's Day Bank Holiday
04 Jan 2011 2nd January Bank Holiday
22 Apr 2011 Good Friday Bank Holiday
02 May 2011 May Day (Early May Bank Holiday) Bank Holiday
30 May 2011 Spring Bank Holiday Bank Holiday
29 Aug 2011 Summer Bank Holiday Bank Holiday
26 Dec 2011 Boxing Day Bank Holiday
27 Dec 2011 Christmas Bank Holiday
31 Dec 2011 Hogmanay
Hi,
you should add it at: "Date Fields extras" under the "General" tab in your form edit screen, add a colon "," after the "classes: ['dashboard']" there.
Regards,
Max
you should add it at: "Date Fields extras" under the "General" tab in your form edit screen, add a colon "," after the "classes: ['dashboard']" there.
Regards,
Max
Max, you're a legend! Thanks so much matey.
:)
:)
You are welcome!🙂
Regards,
Max
Regards,
Max
If you are using the Chronoforms plugin to embed a form in a Joomla 1.5 article, check the version of your plugin. The code acted as if I typed nothing at all in the Date Field Extras box. Updating to the current release of the plugin was all that was needed to fix the problem.
This topic is locked and no more replies can be posted.