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.

    MMM-CalendarExt3

    Scheduled Pinned Locked Moved Utilities
    676 Posts 81 Posters 2.4m Views 85 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.
    • M Offline
      MMRIZE @bicolorbore586
      last edited by

      @bicolorbore586
      d37a4684-6469-4d59-926c-cfb13fbc924d-image.png
      Since 1.3.0, with manipulateDateCell callback function in configuration, you can handle date cell itself. So you can achieve what you want.

      Here is a simple example; (more tweek might be needed to match with your wants wholely)

      manipulateDateCell: (cell, events) => {
      	if (Array.isArray(events) && events.some(e => e.calendarName === 'Holidays')) {
      		let dateIcon = document.createElement('span')
      		dateIcon.classList.add('fa', 'fa-fas', 'fa-fw', 'fa-gift')
      		dateIcon.style.color = 'red'
      		dateIcon.style.fontSize = '0.9em'
      		let header = cell.querySelector('.cellHeader')
      		let celldate = header.querySelector('.cellDate')
      		header.insertBefore(dateIcon, celldate)
      	}
      }
      

      Anyway, it could be possible.

      B 2 Replies Last reply Reply Quote 1
      • B Offline
        bicolorbore586 @MMRIZE
        last edited by

        @MMRIZE
        Hi MMRIZE, this looks amazing. I will be sure to update and give it a whirl!

        1 Reply Last reply Reply Quote 0
        • Z Offline
          zelmo
          last edited by

          Is there anyway to make it show the end time in the montly calendar?

          Like:
          7:00 - 8:15 Morning Rutine
          instead of
          7:00 Morning Rutine

          That would help out lots when looking at it to make sure you don’t double book yourself if you don’t remember how long the specific event you are going to will last.

          M 3 Replies Last reply Reply Quote 0
          • M Offline
            MMRIZE @zelmo
            last edited by

            @zelmo
            It is intentionally designed so. Not enough width to display endTime together. Use MMM-CalendarExt3Agenda together to see details.

            1 Reply Last reply Reply Quote 0
            • M Offline
              MMRIZE @zelmo
              last edited by MMRIZE

              1.3.1 (2023-05-02)

              • CHANGED: Refactoring some codes, the structure of the events, CSS.
              • ADDED: displayEndTime: true => Show end time of the event. (hidden by default) (Requested from @zelmo)
              • ADDED: displayWeatherTemp: true => Show max/min temperature of the forecasted days.
                CX3_1 3 1
              1 Reply Last reply Reply Quote 0
              • M Offline
                MMRIZE @zelmo
                last edited by

                @zelmo updated for you.

                Z 1 Reply Last reply Reply Quote 0
                • Z Offline
                  zelmo @MMRIZE
                  last edited by

                  @MMRIZE Thanks a lot! Was about to suggest it just in case someone would run it horizontal. Then it might be useful and enough space. I’ll test out at least. Thanks again.

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    Studio472
                    last edited by

                    I added an mlb team calendar. The little baseball symbol shows up on my google calendar on the web browser. In this module, the icon isn’t coming through. Is there a module or font-pack I need to install on my raspbizzle?

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      MMRIZE @Studio472
                      last edited by

                      @Studio472
                      Maybe emoji font should be installed to use/display emojis.

                      https://raspberrypi.stackexchange.com/questions/104181/colored-emojis-in-chromium

                      1 Reply Last reply Reply Quote 0
                      • W Offline
                        whimsicality
                        last edited by

                        Hi, thanks for the work on this module. I am struggling to get it to load. I finally ran the npm dev through terminal and it is coming up with a number of errors… “failed to retrieve device information”, “failed to open kms_swrast”, “failed to open swrast”, “gpu process exited unexpectedly” exit_code=11", “failed to send GpuControl.createcommandbuffer” and then it looks like electron exited with signal “SIGINT”.

                        Is this something I need to troubleshoot with the module itself or does this mean I need to fix something elsewhere? thanks!

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 67
                        • 68
                        • 1 / 68
                        • 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