Hi,
I'd like to be able to show only one month in the calendar.
Is there a way to do this with BLOCKED: [] ?
I looked at the site from aeron and I tried to use "blocked" but some things doesn't seem to work.
Let's first start with what DOES work:
This seems to work. It blocks all dates in april.
The following doesn't seem to work:
So using an asterisk doesn't work for me.
Also how do I block multiple months? Do I need to use two blocked statements?
1) How can I block all months expect May
2) How can I show just May or start directly on may
Thanks in advance for any insight.
Regards,
Sago
I'd like to be able to show only one month in the calendar.
Is there a way to do this with BLOCKED: [] ?
I looked at the site from aeron and I tried to use "blocked" but some things doesn't seem to work.
Let's first start with what DOES work:
classes: ['dashboard'], blocked: ['1-30 4 2012'], direction: .5
This seems to work. It blocks all dates in april.
The following doesn't seem to work:
classes: ['dashboard'], blocked: ['* 4 2012'], direction: .5
So using an asterisk doesn't work for me.
Also how do I block multiple months? Do I need to use two blocked statements?
1) How can I block all months expect May
2) How can I show just May or start directly on may
Thanks in advance for any insight.
Regards,
Sago
Hi,
Apparently there is a small bug that doesn't allow to use "*" (asterisk) for the days.
My first question is solved and here is how.
You can download the fixed Javascript file here:
https://raw.github.com/ktemo/calendar/be83f1f56eff03703aea7453532892951502e113/calendar.js
Before you upload it you need to rename javascript file to calendar2.js
This is very important, so I repeat: make sure the file is called calendar2.js before you upload it.
As always rename also the remote file to calendar2bak.js or something like that so you can always go back.
You will then need to upload it to /components/com_chronocontact/js/
Btw the original file was dated from 2007, and the latest (see link above) is from 2010(fix dated from 2011).
More info about the Aeron calendar itself can be found here: http://electricprism.com/aeron/calendar/#overview
But you probably already new that.
I'm still looking for a way to start the calendar at a specific date.
But I'm not sure if this is possible at all
It would be even better if I could just specify which month and show only that month and nothing else.
Good luck.
Cheers.
Sago
Apparently there is a small bug that doesn't allow to use "*" (asterisk) for the days.
My first question is solved and here is how.
You can download the fixed Javascript file here:
https://raw.github.com/ktemo/calendar/be83f1f56eff03703aea7453532892951502e113/calendar.js
Before you upload it you need to rename javascript file to calendar2.js
This is very important, so I repeat: make sure the file is called calendar2.js before you upload it.
As always rename also the remote file to calendar2bak.js or something like that so you can always go back.
You will then need to upload it to /components/com_chronocontact/js/
Btw the original file was dated from 2007, and the latest (see link above) is from 2010(fix dated from 2011).
More info about the Aeron calendar itself can be found here: http://electricprism.com/aeron/calendar/#overview
But you probably already new that.
I'm still looking for a way to start the calendar at a specific date.
But I'm not sure if this is possible at all
It would be even better if I could just specify which month and show only that month and nothing else.
Good luck.
Cheers.
Sago
This topic is locked and no more replies can be posted.