Read the statement by Michael Teeuw here.
MMM-CalendarExt3 show description instead of title in event
-
I wonder if there is any possibilty so show the description in a calender event instead of the title?
For example the iCal sends everyday “Sport, training” in title and in the description there is what type of training it is. Where i want so know what type of training in my mirror.
I´m pretty new to this, it´s my first mirror :)
Regards
-
eventTransformer: (ev) =>{ const targetCalendars = [ 'SpecificCalendarName', 'AntotherCalendarName' ]; // Fulfill the calendar names you want to apply. if (targetCalendars.includes(ev.calendarName) && ev.description) { ev.title = ev.description } return ev }Add this into your CX3 configuration.
-
@mrbaloo1337
For specific calendar? Or for all calendars? -
eventTransformer: (ev) =>{ const targetCalendars = [ 'SpecificCalendarName', 'AntotherCalendarName' ]; // Fulfill the calendar names you want to apply. if (targetCalendars.includes(ev.calendarName) && ev.description) { ev.title = ev.description } return ev }Add this into your CX3 configuration.
-
Perfect, works excellent! Thanks
-
S sdetweil has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login