Read the statement by Michael Teeuw here.
Filter events on Calendar Module
-
Hi,
I’m working on a project that uses the MagicMirror to show where is happening the meetings and presentations like rooms and security issues.
Does anyone know if it’s possible to filter on a calendar only some events by it’s name or specific words?
Thanks in advance!Kind regards,
-
Hey @pedromrsantos,
I know this post is quite old but I have just gotten around to setting up my new MM setup, not sure if filtering can be done with the standard calendar but it is possible with the module ‘MMM-CalendarExt2’.
With this example I am able to filter out events that have ‘birthday’ in the title:
filter: (event) =>{ if (event.title.search(“Birthday”) > -1) { return true } else { return false } },On my setup I am importing 3 ics files and the displaying different views on my screen, one of them is a list of birthdays from three calendars.
Let me know if you need more info.
Cheers
Nathan
-
Where do you paste that code? config.js?
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