Jump to:

10990 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » Event Calendar highlight event

Discuss all other Modules here.

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

Page: 1 2
Go to End
Author Topic: 2053 Views
  • animasola
    Avatar
    Community Member
    121 Posts

    Event Calendar highlight event Link to this post

    Are events on the calendar of this module (http://www.silverstripe.org/event-calendar/) normally highlighted? What I mean is that every time you add an event, is the date/day of the event highlighted or marked on the calendar?

    My current installation does not do this and I would like to ask if this is normal. If so, is there a way to place highlights on them or mark them so that it would be easier for users? Thanks!

  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar highlight event Link to this post

    Use LiveCalendarWidget.

  • animasola
    Avatar
    Community Member
    121 Posts

    Re: Event Calendar highlight event Link to this post

    Other than the widget, is there no other solution? Thanks!

  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar highlight event Link to this post

    I guess I'm not sure what you're looking for. You wanted a calendar widget that highlights dates with events, right?

  • animasola
    Avatar
    Community Member
    121 Posts

    Re: Event Calendar highlight event Link to this post

    I don't want to use the widget since it is harder to integrate it with the site sidebar and it does not look that appealing. What I did is to put these on my SideBar:

    $CalendarWidget
    $CalendarFilterForm

    It shows the calendar from the event calendar module onto the sidebar. The problem is, the calendar even in the original module does not highlight dates with events.

    I just want this to be possible. Sorry for the hassle.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar highlight event Link to this post

    If you put change that from $CalendarWidget to $LiveCalendarWidget, you'll get the same thing, only it has the ability to highlight dates with events. Updates to its presentation is handled with CSS and template overrides. It's much more configurable and themeable than $CalendarWidget.

  • Tigerlilly
    Avatar
    Community Member
    16 Posts

    Re: Event Calendar highlight event Link to this post

    Thanks I was also looking for this, do you know if there is anyway we can customise the highlight? ie I would like to have the event title show on the rollover not just the date.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Event Calendar highlight event Link to this post

    Yup. All the CSS is in LiveCalendarWidget.css. It's not themeable at this point, so you can override those styles in your stylesheet by specificity, e.g.

    body #LiveCalendarWidget td {}

    You can also create your own LiveCalendarWidget.ss to override the markup.

    2053 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.