• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.4k 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.
  • P Offline
    plainbroke
    last edited by sdetweil Feb 13, 2022, 11:25 PM Feb 13, 2022, 11:15 PM

    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 Feb 13, 2022, 11:24 PM Reply Quote 0
    • S Offline
      swvalenti Project Sponsor @sdetweil
      last edited by Apr 18, 2023, 7:04 PM

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

      S 1 Reply Last reply Apr 18, 2023, 7:40 PM Reply Quote 1
      • S Away
        sdetweil @plainbroke
        last edited by Feb 13, 2022, 11:24 PM

        @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
        • P Offline
          plainbroke
          last edited by Feb 14, 2022, 12:13 AM

          @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 Feb 14, 2022, 1:12 AM Reply Quote 0
          • S Away
            sdetweil @plainbroke
            last edited by Feb 14, 2022, 1:12 AM

            @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

            P 1 Reply Last reply Feb 20, 2022, 9:50 PM Reply Quote 0
            • P Offline
              plainbroke @sdetweil
              last edited by Feb 20, 2022, 9:50 PM

              @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.

              S 1 Reply Last reply Apr 18, 2023, 5:46 PM Reply Quote 0
              • S Offline
                swvalenti Project Sponsor @plainbroke
                last edited by Apr 18, 2023, 5:46 PM

                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 Apr 18, 2023, 6:06 PM Reply Quote 0
                • S Away
                  sdetweil @swvalenti
                  last edited by Apr 18, 2023, 6:06 PM

                  @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

                  S 1 Reply Last reply Apr 18, 2023, 6:51 PM Reply Quote 0
                  • S Offline
                    swvalenti Project Sponsor @sdetweil
                    last edited by Apr 18, 2023, 6:51 PM

                    @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 Apr 18, 2023, 6:53 PM Reply Quote 0
                    • S Away
                      sdetweil @swvalenti
                      last edited by Apr 18, 2023, 6:53 PM

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

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      S 1 Reply Last reply Apr 18, 2023, 6:54 PM Reply Quote 0
                      • S Offline
                        swvalenti Project Sponsor @sdetweil
                        last edited by swvalenti Apr 18, 2023, 6:54 PM Apr 18, 2023, 6:54 PM

                        @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 Apr 18, 2023, 6:57 PM 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