• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Excluded Events Standard calendar

Scheduled Pinned Locked Moved Unsolved Troubleshooting
5 Posts 2 Posters 1.2k Views 2 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.
  • C Offline
    Clubjack
    last edited by Jan 4, 2020, 5:44 PM

    Hello everybody.
    Is it possible to hide double events.
    This is explicitly about the following:

    I have a weekly recurring event.
    In the module I would like to be shown the next 7 events.
    Should there be no or few appointments in the near future, then the module would only consist of this one recurring appointment.
    In this case, it would be enough for me that this recurring event is only displayed once.
    I tried it with “excludedEvents”.
    However, I only manage to completely exclude the event.

    1 Reply Last reply Reply Quote 0
    • C Offline
      Clubjack
      last edited by Jan 5, 2020, 1:37 PM

      @MichiMich
      Did you know, if this is possible?

      1 Reply Last reply Reply Quote 0
      • S Online
        sdetweil
        last edited by sdetweil Jan 5, 2020, 1:43 PM Jan 5, 2020, 1:43 PM

        i don’t see that capability in the default calendar, i have a weekly recurring that shows two entries sometimes… with different dates

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        C 1 Reply Last reply Jan 6, 2020, 8:09 AM Reply Quote 0
        • C Offline
          Clubjack @sdetweil
          last edited by Jan 6, 2020, 8:09 AM

          @sdetweil
          But did you see the example of “exclude events”? Could it be possible with “until”?

          An array of words / phrases from event titles that will be excluded from being shown.
          
          Additionally advanced filter objects can be passed in. Below is the configuration for the advance filtering object.
          Required
          filterBy - string used to determine if filter is applied.
          Optional
          until - Time before an event to display it Ex: ['3 days', '2 months', '1 week']
          caseSensitive - By default, excludedEvents are case insensitive, set this to true to enforce case sensitivity
          regex - set to true if filterBy is a regex. For those not familiar with regex it is used for pattern matching, please see here for more info.
          
          Example: ['Birthday', 'Hide This Event', {filterBy: 'Payment', until: '6 days', caseSensitive: true}, {filterBy: '^[0-9]{1,}.*', regex: true}]
          Default value: []
          
          S 1 Reply Last reply Jan 6, 2020, 1:32 PM Reply Quote 0
          • S Online
            sdetweil @Clubjack
            last edited by Jan 6, 2020, 1:32 PM

            @Clubjack i did not see until… I do not know the answer

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              1/5
              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