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.

    Default Calendar

    Scheduled Pinned Locked Moved Solved Requests
    17 Posts 3 Posters 3.9k Views 3 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.
    • plainbrokeP Offline
      plainbroke
      last edited by sdetweil

      Re: Default Modules
      Is there a way to have 2 calendars I used to have 1 for Birthdays and one for holidays. I simply renamed the default calendar to calendarh and moved it to the moduels folder and in the config.js the config was under calendarh
      I also renamed the css and js files for calendarh directory. I had to go in and change a few things in the js and the css. It all worked so nice. now I can not do that for some reason. Any suggestions what I may be doing wrong this time… ?

      {
              module: "calendar",
              position: "middle_center",
              header: "Birthdays",
              config: {
                      fade: false,
                      maximumEntries: 4,
                      timeFormat: "absolute",
                      urgency: 3,
                      getRelative: 24,
                      calendars: [
                      {
                              symbol: "birthday-cake",
                              url: "https://calendar.google.com
                      }
                                 ]
                      }
      },
      
      {
              module: "calendarh",
              position: "middle_center",
              header: "US Holidays",
              config: {
                      fade: false,
                      maximumEntries: 4,
                      timeFormat: "absolute",
                      urgency: 3,
                      getRelative: 24,
                      calendars: [
                      {
                              symbol: "h-square",        url:"https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics"
                      }
                                 ]
              }
      },
      

      Slow learner. But trying anyways.

      S 1 Reply Last reply Reply Quote 0
      • swvalentiS Offline
        swvalenti Project Sponsor @sdetweil
        last edited by

        @sdetweil that worked error was syntax, got it working thanks sam

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

          @plainbroke you didn’t need to do all that.

          just define another calendar module if you want them separate.

          or add another entry in the calendars list if u want the events combined

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • plainbrokeP Offline
            plainbroke
            last edited by

            @sdetweil
            Sorry I do not understand what you mean. “define another calendar module”.
            I have the events combined right now I really would like them as two seperate calendars. I use carousel remember. My Calendars cover most of the screen.

            Slow learner. But trying anyways.

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

              @plainbroke

              {
              module:'calendar':
              position:'top_left',
              classes:'page1'
              config:{
              .
              .
              .}
              }
              

              and

              {
              
              module:'calendar':
              position:'top_right',
              classes:'page2'
              config:{
              .
              .
              .}
              }
              

              use mmm-pages, easier

              the modules list for pages is

              [
                 [   'page1' ],
                 [   'page2' ]
              ]
              

              all the modules u want on page 1 use the page1 class
              (it’s just a name, but pages looks for classes, and carousel does not)

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil
                Thanks I will look into it when i get time. I have carousel working pretty well now. 33 out of the 40 I had working on MM before update to 2.18, so I am plenty happy…

                Slow learner. But trying anyways.

                swvalentiS 1 Reply Last reply Reply Quote 0
                • swvalentiS Offline
                  swvalenti Project Sponsor @plainbroke
                  last edited by

                  I setup two different calendars in the config with url: “”, and url:“” however only one displays, am I missing something?

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

                    @swvalenti in the module config, the calendars sestting is a list

                       calendars: [
                    
                            { 
                               url:   // first calendar ics 
                              symbol:
                           },       
                            { 
                                     url:    // second calendar ics
                                    symbol:
                            },
                       ]   // <- end of list 
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    swvalentiS 1 Reply Last reply Reply Quote 0
                    • swvalentiS Offline
                      swvalenti Project Sponsor @sdetweil
                      last edited by

                      @sdetweil This is what I have but crashes the mirror…its the same as you put

                      				calendars: [
                      					{
                      						symbol: "calendar-check",
                      						url: ""
                      					},
                      					{
                      						symbol: "calendar-check",
                      						url: ""				
                      					},
                      
                      				]
                      			}
                      
                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @swvalenti
                        last edited by

                        @swvalenti show me the output of ‘crashes the mirror’

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        swvalentiS 1 Reply Last reply Reply Quote 0
                        • swvalentiS Offline
                          swvalenti Project Sponsor @sdetweil
                          last edited by swvalenti

                          @sdetweil Just goes to a black screen and throws a bunch of red errors in the cmd window, cant even run dev, one at a time works fine

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