• 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.

Copy of calendar

Scheduled Pinned Locked Moved Development
7 Posts 2 Posters 653 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 Nov 22, 2020, 8:26 PM

    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 Nov 22, 2020, 8:37 PM Reply Quote 0
    • S Away
      sdetweil @panda974
      last edited by Nov 22, 2020, 8:37 PM

      @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 Nov 22, 2020, 8:40 PM

        @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 Nov 22, 2020, 8:49 PM Reply Quote 0
        • S Away
          sdetweil @panda974
          last edited by Nov 22, 2020, 8:49 PM

          @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 Nov 22, 2020, 8:52 PM

            @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 Nov 22, 2020, 9:07 PM Reply Quote 0
            • S Away
              sdetweil @panda974
              last edited by Nov 22, 2020, 9:07 PM

              @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 Nov 22, 2020, 9:26 PM

                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
                1 / 1
                • First post
                  7/7
                  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