Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Hightlighting event date on Calendar


Go to End


2 Posts   1323 Views

Avatar
Anaya

Community Member, 42 Posts

11 June 2009 at 1:30am

Hi...

Is it possible to highlight an event date on actual calendar so the user will know tht there is an event associated with it??
Is there any function already avaliable in script????
Or is it more than tht???

Regards..
Anaya....

Avatar
UncleCheese

Forum Moderator, 4102 Posts

11 June 2009 at 1:53am

We've been talking about this for a while. The problem is that the calendar loads dynamically with javascript, not AJAX, so there's no way to frontload it with the list of events other than to just come up with some arbitrary number, say, 6 months of upcoming and 6 months of recent events, and dump them into some mega array. That's a super ugly solution because, well, it has limitations, and also adds a lot of up front load time, having to parse a year's worth of events on every page load.

I believe the solution lies in creating an AJAX based calendar alternative, where every click forward or backward would make a round trip to the server and get the list of events for that month.