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.

All other Modules

Discuss all other Modules here.

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

Event Calendar highlight event


Go to End
Reply

10 Posts   2072 Views

Avatar
animasola

1 February 2010 at 6:15am Community Member, 121 Posts

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! :)

Avatar
UncleCheese

1 February 2010 at 6:55am 4085 Posts

Use LiveCalendarWidget.

Avatar
animasola

7 February 2010 at 11:38pm Community Member, 121 Posts

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

Avatar
UncleCheese

8 February 2010 at 2:44am 4085 Posts

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

Avatar
animasola

9 February 2010 at 9:53pm Community Member, 121 Posts

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.

Avatar
UncleCheese

10 February 2010 at 3:08am 4085 Posts

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.

Avatar
Tigerlilly

20 February 2010 at 4:27pm Community Member, 16 Posts

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.

Avatar
UncleCheese

21 February 2010 at 5:38am 4085 Posts

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.

Go to Top