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.

    Calendar modification

    Scheduled Pinned Locked Moved Tutorials
    35 Posts 15 Posters 43.2k Views 12 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.
    • KirAsh4K Offline
      KirAsh4 Moderator
      last edited by

      Link works for me … unless something changed between when you posted your response and now …

      A Life? Cool! Where can I download one of those from?

      1 Reply Last reply Reply Quote 0
      • G Offline
        garnett
        last edited by

        attention!
        this works only if the calendar is shared to public!

        KirAsh4K P 2 Replies Last reply Reply Quote 0
        • KirAsh4K Offline
          KirAsh4 Moderator @garnett
          last edited by

          @garnett, both public and private Google calendars work. I have both displayed on mine.

          A Life? Cool! Where can I download one of those from?

          G M 2 Replies Last reply Reply Quote 0
          • G Offline
            garnett @KirAsh4
            last edited by

            @KirAsh4
            uh yes, sorry! thats right. i was confused by the message from the google calendar.

            works with private and public ;)

            1 Reply Last reply Reply Quote 0
            • A Offline
              aarinsingh
              last edited by

              Can somebody please post their config file with the maximumNumberOfDays line inserted. I’m not sure what I’m doing wrong but everytime I try to adjust this I crash my config file. Everything else is working perfect.

              Thanks

              1 Reply Last reply Reply Quote 0
              • MichMichM Offline
                MichMich Admin
                last edited by

                @aarinsingh Could you copy paste your config including the maximumNumberOfDays (so I can try to find what you’re doing wrong). Don’t forget to remove sensitive data.

                1 Reply Last reply Reply Quote 0
                • B Offline
                  brad
                  last edited by paviro

                  Here is my info @aarinsingh , it doesn’t crash but it is also not limiting the number of days. From what I can see at a quick glance is that this was using a method that may have been replaced in the load process for this module, because it seems to only be using the default for this setting. I may follow to code later and see how this is loading and why my setting is being ignored.

                  {
                  			module: 'calendar',
                  			header: 'Events',
                  			position: 'top_left',
                  			maximumNumberOfDays: 7,
                  			config: {
                  				calendars: [
                  					{
                  						symbol: 'calendar-check-o ',
                  						url: 'https://calendar.google.com/calendar/ical/your-info'
                  					}
                  				]
                  			}
                  		},
                  

                  Note from admin: Please use Markdown on code snippets!

                  1 Reply Last reply Reply Quote 0
                  • Wilco89W Offline
                    Wilco89
                    last edited by

                    Put it after config: { and it will work

                    1 Reply Last reply Reply Quote 0
                    • MichMichM Offline
                      MichMich Admin
                      last edited by

                      maximumNumberOfDays should be part of the config object:

                      {
                      			module: 'calendar',
                      			header: 'Events',
                      			position: 'top_left',
                      			config: {
                                                      maximumNumberOfDays: 7,
                      				calendars: [
                      					{
                      						symbol: 'calendar-check-o ',
                      						url: 'https://calendar.google.com/calendar/ical/your-info'
                      					}
                      				]
                      			}
                      		},
                      
                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        brad
                        last edited by

                        That makes perfect sense. :) sorry didn’t catch that…

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