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   2206 Views

Avatar
animasola

Community Member, 121 Posts

1 February 2010 at 6:15am

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

Forum Moderator, 4096 Posts

1 February 2010 at 6:55am

Use LiveCalendarWidget.

Avatar
animasola

Community Member, 121 Posts

7 February 2010 at 11:38pm

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

Avatar
UncleCheese

Forum Moderator, 4096 Posts

8 February 2010 at 2:44am

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

Avatar
animasola

Community Member, 121 Posts

9 February 2010 at 9:53pm

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

Forum Moderator, 4096 Posts

10 February 2010 at 3:08am

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

Community Member, 16 Posts

20 February 2010 at 4:27pm

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

Forum Moderator, 4096 Posts

21 February 2010 at 5:38am

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