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-CalendarExt2

    Scheduled Pinned Locked Moved Utilities
    486 Posts 83 Posters 942.3k Views 83 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.
    • ? Offline
      A Former User @Jas
      last edited by

      @Jas
      set slotCount: 1
      https://github.com/eouia/MMM-CalendarExt2/wiki/2c.-Configuration:View

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        Jas @Guest
        last edited by

        @Sean Thank you so much! Yup all working now. I got the “No more events” to show up by using the following in the daily view if that helps anyone else.

        .CX2 .slot.eventCount_0 .slotContent::after {
          content: "No Scheduled Meetings"
        }
        

        Thanks for the amazing work and support!

        ? 1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User @Jas
          last edited by A Former User

          @Jas
          .CX2 .slot.eventCount_0 this is not only for daily view, so could be risky on other views. Anyway, if it works at this moment, don’t mind. :D

          1 Reply Last reply Reply Quote 0
          • J Offline
            JRB1988 @JRB1988
            last edited by

            @Sean Hey Sean, not sure if you saw my last response. I updated to static with still no luck. Any ideas. I was thinking it might have to be with telling timeline the right name or something along those lines. This is my configure except dynamic switched to static. Thanks!

            0_1578277021369_21be1e9c-eea3-4571-96c9-830e64eb1316-image.png

            1 Reply Last reply Reply Quote 0
            • T Offline
              Thekk @Guest
              last edited by Thekk

              @Sean said in MMM-CalendarExt2:

              @Thekk
              Hmmm… I think there is no flag about repeated events. I’ll research about it.
              For filtering; See this; https://github.com/eouia/MMM-CalendarExt2/wiki/Filtering-and-Sorting
              And this also; https://github.com/eouia/MMM-CalendarExt2/wiki/Event-Object

              I haven’t seen any mention about that property in the filtering or event-object. I did browse through your parser and didn’t see any mention about repeating objects. I did Google a little further and found this function in (what I gather is) the underlying parser: http://mozilla-comm.github.io/ical.js/api/ICAL.Event.html#isRecurring

              Rather proud that I did (eventually) get it to work. I added

              // Check if an event is recurring and make a filterable property
                    ev.isRecurring = ri.isRecurring()
              

              around line 140 in node_helper.js and added the following filter:

              filter: (event) => {
                if (event.isRecurring) {
                   return false
                } else {
                    return true
                }
              },
              

              to remove all recurring items from one of the views.

              E ? 2 Replies Last reply Reply Quote 0
              • A Offline
                Arjan Project Sponsor
                last edited by

                Last week I switched from MMM-CalendarExt to MMM-CalendarExt2 due to problems with showing full day events one day to late.
                I have almost everything setup the way I would like with the custom.css, but have a few points left where I need some help with.

                • Can you make the font larger for slotTitle in only “current” and “upcomming”.
                • Can you make slotMaxHeight auto size in “week” and “current ”so that is always shows all events and not a +2.
                • Can an event in “week” be bigger than 1 line, so no data is lost.

                That’s all.

                ? 1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User @Arjan
                  last edited by

                  @Arjan
                  Well.
                  There are already hundreds of questions similar with this.

                  1. possible. See the MMM-CalendarExt2.css then find proper selector, then redefine it on your css/custom.css.
                  2. impossible. autosize? fit for what? How about number of events are over 100 in those views?
                  3. possible but not recommended. MM screen is too narrow to display week/month view with ALL DATA.
                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    JRB1988
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      JRB1988
                      last edited by JRB1988

                      @Sean How do I remove these green underlines on current month header and current month events?

                      alt text

                      ? 1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User @JRB1988
                        last edited by

                        @JRB1988
                        ? In default CSS, there is no green underline. I think you’ve modified CSS or there might be a collision with other modules.

                        J 1 Reply Last reply Reply Quote 0
                        • J Offline
                          JRB1988 @Guest
                          last edited by JRB1988

                          @Sean So strange. And the really weird thing is that it’s happening both on CalendarEXT and CalendarEXT2. But good to know its not supposed to be there. I’ll dig around more. Thanks!

                          Edit: seems to be some conflict with the Todoist Module. Thanks for the tip again, I think i would have been digging around the CSS forever trying to find what was underlining. Now to figure out why the other modules does this…

                          M 1 Reply Last reply Reply Quote 0
                          • J Offline
                            JRB1988
                            last edited by

                            @Sean
                            Sorry, last question. Is there a max of 6 calendars? I have 7 and only the first 6 populate. If there is, can I up that limit?

                            ? 1 Reply Last reply Reply Quote 0
                            • ? Offline
                              A Former User @JRB1988
                              last edited by

                              @JRB1988
                              There is no calendars limit. hmmm… weird. Can you share the url of calendars with me? (eouia0819@gmail.com)

                              J 1 Reply Last reply Reply Quote 0
                              • J Offline
                                JRB1988 @Guest
                                last edited by

                                @Sean I was able to find a work around for this. Essentially it was always just ignoring the last calendar for some reason so I just added a fake calendar at the end (so now the config has “eight” calendars and gives me the first seven)

                                ? 1 Reply Last reply Reply Quote 0
                                • ? Offline
                                  A Former User @JRB1988
                                  last edited by

                                  @JRB1988
                                  I cannot represent your symptom, Mine works well. So I should get your config and real ical url to diagnose.

                                  1 Reply Last reply Reply Quote 0
                                  • C Offline
                                    cskenney
                                    last edited by

                                    @JRB1988 I can confirm that 7 calendars works fine. I wonder if you have a syntax issue on the last one in your list. You should be able to look at the log window and see each of the calendars being read and the number of entries that are selected.

                                    1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      mscrawford5 @JRB1988
                                      last edited by

                                      @JRB1988
                                      Did you happen to figure out why MMM-Todoist was causing the green underline on calendars ? I’m having the same problem and can’t seem to find a solution.
                                      Thank you in advance

                                      ? 1 Reply Last reply Reply Quote 0
                                      • ? Offline
                                        A Former User @mscrawford5
                                        last edited by A Former User

                                        @mscrawford5
                                        add this into your css/custom.css

                                        .today {
                                          text-decoration: inherit;
                                        }
                                        
                                        .tomorrow {
                                          text-decoration: inherit;
                                        }
                                        
                                        .MMM-Todoist .today {
                                          text-decoration: underline #03a05c;
                                        }
                                        
                                        .MMM-Todoist .tomorrow {
                                          text-decoration: underline #166cec;
                                        }
                                        

                                        Not tested, but you can catch the idea.

                                        M 1 Reply Last reply Reply Quote 0
                                        • E Offline
                                          EdO @Thekk
                                          last edited by

                                          @Thekk Thanks for this, just implemented it and it work like a charm. Took me a while to find node_helper.js until I did a find on it and found it in the MMM-CalendarExt2 folder (as well as everywhere else). I’m still a noob with the RPI so not all things are obvious.

                                          It took me no time at all to find the place to make the change and then I added the filter to the upcoming view while leaving the monthly view alone; exactly what I wanted! Thanks again.

                                          Now just need to make sure that this gets incorporated into the next module.

                                          1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            mscrawford5 @Guest
                                            last edited by

                                            @Sean
                                            That worked.Thank you for your help!

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 24
                                            • 25
                                            • 2 / 25
                                            • 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