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 date when event exists


Go to End


12 Posts   3426 Views

Avatar
IDOLYZ

Community Member, 40 Posts

3 June 2011 at 6:58pm

Hi,

How do I get the calendar to highlight a date when an event exists?

Thanks in advance.

Ben

Avatar
tchintchie

Community Member, 63 Posts

3 June 2011 at 7:47pm

I agree that would be an interesting feature!!!

Avatar
UncleCheese

Forum Moderator, 4102 Posts

4 June 2011 at 4:58am

Use $LiveCalendarWidget.

--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com

Avatar
tchintchie

Community Member, 63 Posts

4 June 2011 at 7:57am

Hi Uncle Cheese!

Thanks for the info. Where do i put that? I replaced $CalendarWidget with $LiveCalendarWidget in my Calendar.ss and CalendarEvent.ss but all I get is a server error. Is there anything else I need to do??

thanks in advance

Avatar
UncleCheese

Forum Moderator, 4102 Posts

4 June 2011 at 2:45pm

What is the error? Make sure your site is in dev mode... generic errors aren't very useful.

Avatar
tchintchie

Community Member, 63 Posts

5 June 2011 at 11:49pm

here comes my error (attached in a .rtf file)

Attached Files
Avatar
IDOLYZ

Community Member, 40 Posts

7 June 2011 at 6:15pm

Hi UncleCheese,

Yep, that works. Thank you.

Ben

Avatar
UncleCheese

Forum Moderator, 4102 Posts

8 June 2011 at 3:22am

@tchintchie, it looks like you're on an outdated version of EventCalendar, because line 397 for me is not in alignment with your error. Make sure you're using the latest code from Github, or downloading straight from my website, http://www.leftandmain.com

--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com

Go to Top