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-CalendarExt2 vertical orientation positioning

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    17 Posts 3 Posters 4.0k 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.
    • S Offline
      sdetweil @Michelle.H2020
      last edited by

      @Michelle-H2020 its all the same, use one of the bottom regions, or middle

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        Michelle.H2020 @sdetweil
        last edited by

        @sdetweil

        https://share.icloud.com/photos/0f6Xo23_KyxA9_avmzoTSWAOQ

        This is my setup it is taking up the whole screen when I use bottom half I want it on the lower portion condensed .

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

          @Michelle-H2020 and what position do you have the module configured for?

          show the module config, (you can xxx out the urls…)

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            Michelle.H2020 @sdetweil
            last edited by sdetweil

            @sdetweil

            {
              module: 'MMM-CalendarExt2',
            position:.......  //<-----  mm position missing.
              config: {
                calendars : [
                  {
                    url: "https://calendar.google.com/calendar/XXXXXXCXXXbasic.ics",
                    
                  },
            {
              url: "https://calendar.google.com/calendarXXXXXXXXXXXXbasic.ics",
              name: "michelles",
              maxItems: 20,
              scanInterval: 1000*60*30,
              beforeDays: 60,
              afterDays: 365,
              maxIterations: 100,
              forceLocalTZ: false,
              replaceTitle:[],
              icon: "noto-beach-with-umbrella",
              className: "michelle",
             
              filter: (event)=>{return true}
            }
                ],
                views: [
                  {
                    mode: "week",
                  },
            
            {
              name: "halfscreen view",
              mode: "weekly",
              position: "halfscreen_below",
              title: "My Schedule",
              fromNow: -1,
              slotCount: 4,
              slotMaxHeight: "60px",
              showWeekends: true,
            },
            {
              name: "VIEW1",
              mode: "daily",
              title: "My Schedule",
              position: "top_left",
            },
                ],
                scenes: [
                  {
                    name: "DEFAULT",
                  },
                ],
              },
            
            S M 2 Replies Last reply Reply Quote 0
            • S Offline
              sdetweil @Michelle.H2020
              last edited by

              @Michelle-H2020

              1st you should move to CalendarExt3, as ext2 is not really supported anymore…

              @MMRIZE can you help here?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                Michelle.H2020 @sdetweil
                last edited by

                @sdetweil ahh ok let me try the ext3 I had only used this one because of a youtube video that I was following, and a calander that finally actually worked for me as the others were not showing up on the screen.

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

                  @Michelle-H2020 ext no longer reads the calendar itself, but relies on the built in calendar module to do that and broadcast the event data and Ext3 reads that broadcast…

                  you can have the default cal not on screen (no position), but still broadcasting so there is a decent amount of change, but ext3 does honor some MM positions, so you can have it lower,

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  M 2 Replies Last reply Reply Quote 0
                  • M Offline
                    Michelle.H2020 @sdetweil
                    last edited by sdetweil

                    @sdetweil

                    I get a bunch of red errors when trying to run the Ext 3

                    {
                      module: "MMM-CalendarExt3",
                      position: "bottom_bar",
                      title: "test",
                      config: {
                        mode: "month",
                        instanceId: "basicCalendar",
                        locale: 'de-DE',
                        maxEventLines: 5,
                        firstDayOfWeek: 1,
                        calendarSet: "my test",
                       
                      }
                    },
                    {
                      module: "calendar",
                      position: "top_left",
                      config: {
                        broadcastPastEvents: true, 
                        calendars: [
                          {
                            
                    	url: "https://calendar.google.com/calendar/XXXXXXXXX/public/basic.ics",
                            name: "test", 
                            color: "red",
                          },
                    

                    I use this and get the error
                    01.11.2023 17:10.06.203] [ERROR] WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/mirror/MagicMirror/config/config.js:186
                    };

                    SyntaxError: Unexpected token ‘;’
                    at internalCompileFunction (node:internal/vm:73:18)
                    at wrapSafe (node:internal/modules/cjs/loader:1185:20)
                    at Module._compile (node:internal/modules/cjs/loader:1227:27)
                    at Object…js (node:internal/modules/cjs/loader:1326:10)

                    not sure where the error is

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

                      @Michelle-H2020 So what is above line 186 where the semicolon is?

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        MMRIZE @Michelle.H2020
                        last edited by

                        @Michelle-H2020
                        CX2 doesn’t respect usual MM’s positioning. It manage number of “views” in multi-positions, so you need to assign position to each “view”, not module itself.
                        Read manuals.

                        • https://github.com/MMM-CalendarExt2/MMM-CalendarExt2/blob/main/docs/Configuration.md

                        • https://github.com/MMM-CalendarExt2/MMM-CalendarExt2/blob/main/docs/Configuration/View.md

                        And other documents also.

                        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