10377 Posts in 2193 Topics by 1709 members
| Go to End | Next > | |
| Author | Topic: | 2574 Views |
-
Event Calendar highlight dates with events

6 July 2009 at 5:52pm
Hey Uncle Cheese,
A few things regarding the event calendar module and what might be possible:
- Can any days that have events on them be highlighted in the calendar
- Does the calendar have to have the row picker buttons on the right
Thanks
- Can any days that have events on them be highlighted in the calendar
-
Re: Event Calendar highlight dates with events

7 July 2009 at 1:32am
A lot of people have requested highlighting dates with events, but it's a feature that needs to be thought through carefully. The calendar widget works on the client side only, meaning it runs asynchronously to the event database. The only way to get it to work would be to "preload" the calendar with a huge array of dates that have events, which has two major limitations 1) you have to pick an arbitrary date range to preload, and 2) Major performance hit. The only option that seems worthwhile to me is to generate the calendar with AJAX, in which case the widget would have its own template and you could do something like your second request -- create your own version without the week selection buttons.
-
Re: Event Calendar highlight dates with events

12 January 2010 at 10:19am
Can the calendar widget highlight the dates with events on them?
-
Re: Event Calendar highlight dates with events

12 January 2010 at 10:40am
Yup. Use LiveCalendarWidget.
-
Re: Event Calendar highlight dates with events

12 January 2010 at 12:15pm
Will it be able to highlight the current date and also the dates with events on them with a different color for the events? I am new to this and appreciate your help.
Thanks
-
Re: Event Calendar highlight dates with events

12 January 2010 at 12:59pm
I used the event calendar widget. is this the same as LiveCalendar widget?
-
Re: Event Calendar highlight dates with events

12 January 2010 at 2:05pm
Yeah, it's called the same way on the template.. just use $LiveCalendarWidget instead of $CalendarWidget. Be sure you're creating the new templates in your theme dir so you don't overwrite the core module files.
If you want a demo, I think it's set up on the event calendar site: eventcalendar.bluehousegroup.com
Basically it just loads new months with AJAX instead of pure client side script, so it's able to retrieve the dates in a given month that have events., and they get a CSS class that highlights them.
-
Re: Event Calendar highlight dates with events

14 January 2010 at 6:11am
Thank you Uncle Cheese. It worked wonders. I am now trying to change the colors to match the event calendar module. Is there an easy way to do this? and is there a way to resize the calendar?
| 2574 Views | ||
| Go to Top | Next > |

