MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    UNSOLVED Default Calendar

    Requests
    2
    5
    110
    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
      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"
                      }
                                 ]
              }
      },
      
      S 1 Reply Last reply Reply Quote 0
      • S
        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

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • P
          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.

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

            Create a working config
            How to add modules

            P 1 Reply Last reply Reply Quote 0
            • P
              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…

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy