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


Go to End
Reply

12 Posts   2226 Views

Avatar
IDOLYZ

3 June 2011 at 6:58pm Community Member, 40 Posts

Hi,

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

Thanks in advance.

Ben

Avatar
tchintchie

3 June 2011 at 7:47pm Community Member, 63 Posts

I agree that would be an interesting feature!!!

Avatar
UncleCheese

4 June 2011 at 4:58am 4085 Posts

Use $LiveCalendarWidget.

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

Avatar
tchintchie

4 June 2011 at 7:57am Community Member, 63 Posts

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

4 June 2011 at 2:45pm 4085 Posts

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

Avatar
tchintchie

5 June 2011 at 11:49pm Community Member, 63 Posts

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

Attached Files
Avatar
IDOLYZ

7 June 2011 at 6:15pm Community Member, 40 Posts

Hi UncleCheese,

Yep, that works. Thank you.

Ben

Avatar
UncleCheese

8 June 2011 at 3:22am 4085 Posts

@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