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

MMM-CalendarExt2

Scheduled Pinned Locked Moved Utilities
486 Posts 83 Posters 705.5k 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 Dec 13, 2019, 2:14 PM

    @cskenney
    Wait a sec. I think found something.

    1 Reply Last reply Reply Quote 0
    • ? Offline
      A Former User @cskenney
      last edited by Dec 13, 2019, 2:25 PM

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

      C 1 Reply Last reply Dec 14, 2019, 11:20 PM Reply Quote 0
      • B Offline
        BKeyport Module Developer @Guest
        last edited by Dec 13, 2019, 9:57 PM

        @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 Dec 14, 2019, 11:20 PM

          @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 Dec 15, 2019, 12:03 PM Reply Quote 0
          • ? Offline
            A Former User @cskenney
            last edited by A Former User Dec 15, 2019, 12:04 PM Dec 15, 2019, 12:03 PM

            @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 Dec 15, 2019, 3:30 PM Reply Quote 0
            • C Offline
              cskenney @Guest
              last edited by Dec 15, 2019, 3:30 PM

              @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
              • L Offline
                Lordy
                last edited by Lordy Dec 17, 2019, 5:34 PM Dec 17, 2019, 5:34 PM

                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 Dec 17, 2019, 5:35 PM Reply Quote 0
                • ? Offline
                  A Former User @Lordy
                  last edited by Dec 17, 2019, 5:35 PM

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

                  L 1 Reply Last reply Dec 17, 2019, 5:44 PM Reply Quote 0
                  • L Offline
                    Lordy @Guest
                    last edited by Lordy Dec 17, 2019, 5:45 PM Dec 17, 2019, 5:44 PM

                    @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 Dec 17, 2019, 5:54 PM Reply Quote 0
                    • ? Offline
                      A Former User @Lordy
                      last edited by Dec 17, 2019, 5:54 PM

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

                      L 1 Reply Last reply Dec 17, 2019, 5:59 PM Reply Quote 1
                      • 1
                      • 2
                      • 18
                      • 19
                      • 20
                      • 21
                      • 22
                      • 48
                      • 49
                      • 20 / 49
                      20 / 49
                      • First post
                        199/486
                        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