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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

Event Calendar highlight event


Go to End


10 Posts   3011 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, 4102 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, 4102 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, 4102 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, 19 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, 4102 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