Jump to:

10391 Posts in 2202 Topics by 1713 members

All other Modules

SilverStripe Forums » All other Modules » Event Calendar: Using the jQuery UI DatePicker

Discuss all other Modules here.

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 6280 Views
  • Anonymous user
    Avatar
    Community Member
    1 Post

    Re: Event Calendar: Using the jQuery UI DatePicker Link to this post

    Please excuse my spamming, but I just put up a new version. See initial post.

    It's "final", so to speak, as it does exactly what I need it to: It displays a jQuery UI Datepicker widget, then goes on to request a list of events from the server. If it succeeds, it will only mark those dates with attached events selectable.

    ----

    UncleCheese, in case you are reading this, I have two questions:

    1) Isn't it bad to specify the ClassName in the URL for LiveCalendarWidget_Controller? Imagine I have a secret class that happens to have "Events" to it. LiveCalendarWidget_Controller would allow to get hold of this.
    2) Would it not be better if Events(), by default, returns all events that have their EndDate after the selected start date, instead of their StartDate?

    Great module either way!

    6280 Views
Page: 1 2
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.