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 is showing its module name and i cant make it disappear

    Scheduled Pinned Locked Moved Solved Troubleshooting
    10 Posts 4 Posters 2.0k Views 4 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.
    • M Offline
      MerlijnAlmer
      last edited by

      i am still in the process of setting MMM-calendarExt2 up but i am bad at java script and css so i am just messing around a bit and for some reason it shows the name of the module on the screen. is that normal (i dont think it is.)

      0_1569315118603_MMM-calendarExt2 problem.png

      i am sorry for the mess of code i made.

      language: "nl",
      timeFormat: 24,
      units: "metric",
      
      modules: [
         {
         module: "MMM-CalendarExt2",
         position: "upper third",
         config: {
         calendars : [
        {
        url: "https://outlook.office365.com/owa/calendar/Super_secret/calendar.ics",
        },
        ],
      
         views: [
         {
         name: "Vergaderkamer",
         mode: "weekly",
         title: "vergaderkamer",
         position: "top_bar",
         type: "row",
         useEventTimeRelative: true,
         },
         {
         name: "vergaderkamer",
         mode: "upcoming",
         position: "bottom_right",
         slotTitle: "meeting van vandaag",
         maxItems:5,
         maxDays:1,
         slotMaxHeight: "240px",
         hideOverflow:true,
         },
         ],
      
         scenes: [
         {
         name: "Vergaderkamer",
         views: [],
         className: "myClass",
         },
                         ],
                    },
               },
        {
        module: "clock",
        position: "bottom_right",
        config: {
         timezone: "Europe/Amsterdam"
        }
       },
      ]
      }; 
      
      
      ? 1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @MerlijnAlmer
        last edited by

        @MerlijnAlmer
        remove position field.
        0_1569316432954_1.png

        1 Reply Last reply Reply Quote 1
        • M Offline
          MerlijnAlmer
          last edited by

          @Sean i would like to tell you that you are an amazing human being. thanks for all the help
          it worked so now i can just see what else i can do.

          1 Reply Last reply Reply Quote 0
          • W Offline
            walterop
            last edited by

            @Sean I have the same issue but I’m using MMM-Page-Selector, so I need to specify on which page I want to display the module. Any idea what could be a solution?

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

              @walterop
              What kind of same issue?

              W 1 Reply Last reply Reply Quote 0
              • W Offline
                walterop @Guest
                last edited by

                @Sean I also have the module name on the screen, but I’m not sure if there is a way around it when you use the MMM-Page-Selector module

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

                  @walterop
                  First, MMM-CalendarExt2 needs no position, so you don’t describe position in config.
                  Second. You can put this module in any page of MMM-Page-Selector but, just one probable issue could be. This module keeps its own refreshing schedule, so there could be some gap for displaying calendar after page changing.
                  If it would be an issue, tell me again. Let’s solve together.

                  S 2 Replies Last reply Reply Quote 0
                  • S Offline
                    sdetweil @Guest
                    last edited by sdetweil

                    @Sean on the page change the module receives a suspend (hide) or resume(show)

                    so, if its coming from being hidden, refresh now
                    if its going into hiding, stop refreshing (timer can still tick, just don’t do anything)

                    EVERY module show have this logic

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    ? 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Guest
                      last edited by

                      @Sean every module should honor its position… used to be if no position, then getDom() output was discarded

                      I reported a bug, one of my modules has no UI… but i wanted to know if the ui was suspended (hidden/sleep mode). but my module suspend () wasn’t called cause I had no position specified

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @sdetweil
                        I implemented suspend and resume logic already. So it is able to hide/show by .hide(), .show() like other modules.
                        The only issue is, This module could not be subordinated by specific position, because this module itself could have several sub-modules(I called it as view in this module) and do it’s own paginating(called it as scene), so module itself is not a usual simple module. This module doesn’t need position for module itself. (Only position for sub-modules are needed)
                        By the conclusion, this module works when the position is not described. When described, nothing happens but just showing module title on that position. That’s all, but if the user doesn’t want to see the module title, just remove position of my module. no harm, no one will be hurt by it.

                        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 Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy