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.

    Copy of calendar

    Scheduled Pinned Locked Moved Development
    7 Posts 2 Posters 711 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.
    • P Offline
      panda974
      last edited by

      Hi,

      i tried with the default calendar to show only birthday events. we can filter “birthday” but not only show birthday.

      i succed to do it by modifying the file"calendarfetcher.js", row 436 : initial “return title.includes(filter);” to “return !title.includes(filter);”

      i tried to do a copy of the default module calendar to create a specific-calendar module but this is not working : always a loading message for the copy.

      I wanted a copy because I want a specific module only showing birthday and in the default calendar not showing birthday

      or maybe it is possible to show only birthday with the default module ?

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @panda974
        last edited by

        @panda974 the calendar does not look for a field labeled birthday.
        As u have found u can filter/exclude events whos summary fields contain specific words

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • P Offline
          panda974
          last edited by

          @sdetweil but I succed to do it with the default.

          that I tried to do is to copy the default module, rename it and use two modules “default calendar” and “specific calendar” with a filter for include only not exclude.

          but the copy dosn’t work and I don’t know how to do it

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @panda974
            last edited by

            @panda974 the copy has to be moved out of the defaults folder

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • P Offline
              panda974
              last edited by

              @sdetweil i did.

              with npm run start dev : no error but I have always a loading message for the specific calendar with all the same option as the default

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @panda974
                last edited by

                @panda974 the fetcher info is displayed in the window where u did npm start.
                alt-spacebar, n to minimize mm

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • P Offline
                  panda974
                  last edited by

                  i found the module MMM-Mycalendar wich is a copy of the default calendar

                  I will try to do a copy of this and find a way to do my specific-calendar

                  thks

                  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