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 not showing events on calendar, but does on list after 2.30 update

    Scheduled Pinned Locked Moved Solved Troubleshooting
    37 Posts 5 Posters 8.1k Views 6 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.
    • S Offline
      sdetweil @tke499
      last edited by sdetweil

      @tke499 i’ll give you a hack til next release

      in ~/MagicMirror/modules/default/calendar.js
      add this line

      		fadePoint: 0.25, // Start on 1/4th of the list.  line 25
      		fadeSteps:0,  // ------- this one
      

      and

      			startFade = events.length * this.config.fadePoint;   // line 255 after above added
      			fadeSteps = events.length - startFade;
      			if(this.config.fadeSteps)                  /* these two */
      				fadeSteps=this.config.fadeSteps 
      

      then in your config.js calendar

                fade:true,
                fadePoint:0.02,   //  use this to get into the top 10 (my 200 list gets to number 4)
                fadeSteps:6,         // use this to decide how many steps from full to gone
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      T C 2 Replies Last reply Reply Quote 0
      • T Offline
        tke499 @sdetweil
        last edited by

        @sdetweil Thanks. Do we know why this is happening with this release? Assuming it had to do with the calendar update.

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

          @tke499 I do not yet… I checked the code that sends the list to other modules and I don’t SEE anything … ps, I personally did all the calendar updates

          both versions clip the list to the config.maxEvents: value. (10 default in both)

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @tke499 looking at the code again, there WAS a bug in prior releases, where
            you COULD specify to limit the number of entries produced BY calendar

                { 
                   url: "some cal url",
                   maximumEntries:xxx   // default whatever the base config has for this property
                }
            

            so, I added code to fix that bug

            SO, if one does NOT specify maximumEntries in the cal url section,
            it will clip to the default value,
            which it did NOT DO before…

            the prior bug was maxEvents said 100 (including old)
            1st cal contributed 20
            2nd cal contributed 100
            3rd cal contributed 5

            1st 100 (maxEvents) is returned… so none of cal 3 got processed…

            the code and limits were present in prior release, just not the clipping

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            T 1 Reply Last reply Reply Quote 0
            • S sdetweil referenced this topic on
            • T Offline
              tke499 @sdetweil
              last edited by

              @sdetweil so I am assuming that I should just keep the coding you provided earlier correct?

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

                @tke499
                if it works for you

                yes, next release is April 1

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                T 1 Reply Last reply Reply Quote 0
                • T Offline
                  tke499 @sdetweil
                  last edited by

                  @sdetweil appreciate being patient with me. Thanks again. I made this MM for my wife for Christmas and it has fought me every single step.

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

                    @tke499 no problem… been there , done that…

                    thats why I do the install/upgrade, and backup/restore scripts,
                    and look for other ways to make the core functions easier to use

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      Como @sdetweil
                      last edited by

                      @sdetweil Wondering if this hack would work for MMM-CalendarExt3Agenda? Had half my calendars stop showing events today (the ones that have the most events in them, oddly 2 of the calendars that only have 1 or 2 events are still showing). I confirmed that the events still show in the default calendar module. I also tried the troubleshooting steps listed previously in the thread (pulling the latest from git and npm install) but no luck.

                      Thanks as always!

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

                        @Como yes, all the ext3 modules get the data from the same place

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        C 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 3 / 4
                        • 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