Jump to:

10977 Posts in 2720 Topics by 1815 members

All other Modules

SilverStripe Forums » All other Modules » Hightlighting event date on Calendar

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 876 Views
  • Anaya
    Community Member
    42 Posts

    Hightlighting event date on Calendar Link to this post


    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???


  • UncleCheese
    4085 Posts

    Re: Hightlighting event date on Calendar Link to this post

    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.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.