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 827.4k 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 @code999
      last edited by

      @code999
      Which position did you set for the view? put the view in a proper position, then, add this into your css/custom.css

      .CX2 {
        width: 800px;
      }
      

      Or any size you want.

      0_1573387050845_0213703d-e4ca-4192-97f6-9b46faa4cd07-image.png

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

        @mrdenmark

        can this module work with mmm-keybindings?i’d like to use the spacebar or similar to cycle through scenes

        https://github.com/eouia/MMM-CalendarExt2/wiki/3.-Usage
        If your module can emit customized notifications(e.g: CALEXT2_SCENE_NEXT or somethings), possible.
        Or you can use MMM-NotificationTrigger to translate or relay original notification to specific customized target notification.

        1 Reply Last reply Reply Quote 0
        • J Offline
          jani.karna
          last edited by jani.karna

          Hi! I’m trying to modify css. I created css/custom.css in MagicMirror/modules/MMM-CalendarExt2/ and tried doing modifications but none of them seem to do anything. Permissions for dir and file are 777.
          Is there something I’m not understanding here?

          for example I tried this in custom.css but it doesn’t work. This only works in MMM-CalendarExt.css file.

          
          .CX2 .weekSlot.seq_0 .cellSlot .slotSubTitle {
            position:relative;
            top:-30px;
            left:40%;
          }
          

          Also, how can I get month calendar to only show 4 weeks instead of 5?

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

            @jani-karna
            You don’t need to create your own css/custom.css under module directory. That file locates under your MagicMirror directory. css/custom.css is a global common file to be used by all the modules.

            1 Reply Last reply Reply Quote 0
            • J Offline
              jani.karna
              last edited by

              Oh, I see. Some modules seem to have their own directory, like MMM-CalendarExt for example. But I’ll use MagicMirror directory instead and try with that.

              How about the other question? How can I get month calendar to show 4 weeks instead of 5?

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

                @jani-karna
                MMM-CalendarExt was so an early and old module, so it has an improper structure. I’ll deprecate the css in some days.

                For your Second Question.
                month view could have 4~6 weeks in a table by the days. If you want to fix 4 weeks, use week view instead month

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jani.karna
                  last edited by

                  I’m not sure I understood. Is month view possible to set to show 4 weeks? I also changed to week mode but it only shows 3 weeks instead of 4.

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

                    @jani-karna
                    You can set how many weeks to be shown with slotCount in week view.

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      jani.karna
                      last edited by

                      @Sean
                      Thank you, that did the job.

                      Sorry to bother you with one more question: I have 1 scene and 1 view and 3 calendars. All of the calendars are in same week view. I’m trying to have all the 3 calendars to be visible at the same time in week view without rotating between them. I thought this is default with just one scene and one view.

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

                        @jani-karna

                        I have 1 scene and 1 view and 3 calendars. All of the calendars are in same week view. I’m trying to have all the 3 calendars to be visible at the same time in week view without rotating between them. I thought this is default with just one scene and one view.

                        ??? You mean your calendars are not shown in one week view? As you said, that is the default unless you set separate views.
                        If all of your events are not shown in a view, it might be maxItems issue. It is limited as max 100 events by default for the performance. In that case, you can set bigger value to maxItems of view.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 7
                        • 8
                        • 9
                        • 10
                        • 11
                        • 48
                        • 49
                        • 9 / 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