Jump to:

10994 Posts in 2728 Topics by 1819 members

All other Modules

SilverStripe Forums » All other Modules » Event Calendar modification

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 1186 Views
  • dryfly
    Community Member
    2 Posts

    Event Calendar modification Link to this post

    I apologize if this has been answered elsewhere, but I did not find anything.

    Is there a way to change the calendar widget to start the week on Sunday (traditional US) instead of Monday. I have seen it on a couple instances, but I can't find any documentation for it.

    Thank you,


  • UncleCheese
    4085 Posts

    Re: Event Calendar modification Link to this post


    I hacked that thing to pieces to get it to do what I wanted to, and by the time I realized that I was doing a great disservice to Europeans by starting the week on Sunday, it was far too late to make it a configurable option.

    I'm wondering if you would have better luck with LiveCalendarWidget. The advantages being:

    1) It's PHP based rather than Javascript based, and I believe PHP's locale awareness will return Monday for the 0th day of the week, but I'm not sure.

    2) You can create your own template. Just copy the LiveCalendarWidget.ss into your theme directory templates/ folder, run a build, and hack away!

  • janulka
    Community Member
    80 Posts

    Re: Event Calendar modification Link to this post

    anybody plz who has modified LiveCalendarWidget.ss to start the day on monday, could you post the code?

    thank you

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.