MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Calendar excludedEvents behavior not as expected?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    1 Posts 1 Posters 460 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O Offline
      orayoflighto Project Sponsor
      last edited by orayoflighto

      I am having trouble with the excludedEvents parameter in the calendar module. I can get some words to filter but not others. For instance I if I have the following two events on the calendar:

      School Early Dismissal
      Roger’s Special - Art

      If I enter ‘Early’ in the excludedEvents array then as expected the School Early Dismissal goes away. If I enter ‘Roger’ or ‘Art’ or ‘Special’ then I can’t get the second event to filter out.

      I have 3 calendars. I tried eliminating all but the one that pulls the “Roger’s Special - Art” event and still no luck. I am starting to think that there is something about that calendar ics that prevents events from being filtered? Is this possible?

      		module: "calendar",
      			header: "Calendar",
      			position: "top_left",
      			config: {
      				maxTitleLength: "30",
      				timeFormat: "absolute",
      				nextDaysRelative: true,
      				titleReplace: {'SPECIAL MEETING':'meeting'},
      				displaySymbol: false,
      				//maximumNumberOfDays: "62",
      				fade: false,
      				excludedEvents: ['Special'],
      				calendars: [
      					{
      						
      						// symbol: "calendar-check-o ",
      						url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics",
      						maxTitleLength: "17"
      					},
      
      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy