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

    Scheduled Pinned Locked Moved Utilities
    486 Posts 83 Posters 826.1k Views 83 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.
    • ? Offline
      A Former User @cskenney
      last edited by

      @cskenney
      Wait a sec. I think found something.

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @cskenney
        last edited by

        @cskenney
        You have a mistyping in defaultSet. Not calendars, Fix it to calendar

        C 1 Reply Last reply Reply Quote 0
        • BKeyportB Offline
          BKeyport Module Developer @Guest
          last edited by

          @Sean You can also do it through PM2 directly.

          In a second session run “pm2 logs” – it’ll live update the logs on that session’s screen.

          The "E" in "Javascript" stands for "Easy"

          1 Reply Last reply Reply Quote 0
          • C Offline
            cskenney @Guest
            last edited by

            @Sean That did the trick. You used Calendars (with an S) for the main code section but the default section only used calendar (without the s). I didn’t notice the syntax difference. Thanks for the help.

            ? 1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @cskenney
              last edited by A Former User

              @cskenney
              Because calendar of defaultSet would be applied to each calendar of calendars:[]. But anyway, my English is not so good so there could be confusing.

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                cskenney @Guest
                last edited by

                @Sean No, it’s fine. I just didn’t notice the syntax difference when I created the default section.

                Thanks again for your help.

                1 Reply Last reply Reply Quote 0
                • LordyL Offline
                  Lordy
                  last edited by Lordy

                  0_1576603720899_Screenshot_20191214-135355_2t.jpg
                  The two things were only added after the installation of “MMM-Page-Selector”.
                  Do you know how I remove the “module name (red)” and the “module counter blue”?
                  It is somehow related to the module.
                  I hope Sean, can you help me?

                  ? 1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User @Lordy
                    last edited by

                    @Lordy
                    Remove postion of module. This module doesn’t need it.

                    LordyL 1 Reply Last reply Reply Quote 0
                    • LordyL Offline
                      Lordy @Guest
                      last edited by Lordy

                      @Sean said in MMM-CalendarExt2:

                      Remove postion of module. This module doesn’t need it.

                      I tried it, unfortunately without success. Or what exactly do you mean? Here is my config.

                      {
                      module:“MMM-CalendarExtMinimonth”,
                      disabled: false,
                      position: “bottom_bar”,
                      pages: {main: ‘bottom_bar’},
                      calendars: [ ],
                      },
                      {
                      module: ‘MMM-CalendarExt2’,
                      disabled: false,
                      pages: {main: “bottom_bar”},
                      config: {
                      rotateInterval: 5601000,
                      scenes:[
                      {
                      name: “”,
                      views: [“”],
                      },
                      ],
                      views:[
                      {
                      position: “bottom_bar”,
                      name: “”,
                      title: “”,
                      mode: “week”,
                      colored: true,
                      type: “row”,
                      slotCount: 2,
                      slotSubTitleFormat: “dddd”,
                      slotTitleFormat: “DD.MMMM”,
                      slotAltTitleFormat: “DD.MMMM”,
                      slotMaxHeight:“325px”,
                      calendars: [“xxx”],
                      locale: “de”,
                      maxItems:2000,
                      hideOverflow: false,
                      },
                      ],
                      calendars: [

                      ? 1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User @Lordy
                        last edited by

                        @Lordy
                        Hmmm. this module would manage its hiding/revealing by itself. So there is no need set postion of this module itself. But you set the position by pages: {main: “bottom_bar”}, through MMM-Page-Selector by force.
                        Unfortunately, MM would show the module name and id even when the module has nothing to draw at that position.

                        Hmmm…

                        I think the easiest way is to hide it by CSS.

                        #module_7_MMM-CalendarExt2 {
                          display:none;
                        }
                        

                        The only problem is, if you change the order of modules(adding a new module or removing) in configuration, the module Id will be changed. In that case, you should modify again.

                        LordyL 1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 18
                        • 19
                        • 20
                        • 21
                        • 22
                        • 48
                        • 49
                        • 20 / 49
                        • 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