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 942.3k 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.
    • C Offline
      code999 @Guest
      last edited by

      @Sean sorry about me not able to explain what I am trying to do. this is how it looks now. 0_1573232750888_before edit.JPG I want to move it to the right and shrink it so it does not overlap the other modules. 0_1573232901007_trying to do.JPG
      Thanks for your help.

      M ? 2 Replies Last reply Reply Quote 0
      • M Offline
        mrdenmark
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • M Offline
          mrdenmark @code999
          last edited by

          @code999
          try position top_right instead of full_screen and see how that looks, you can then have a dig around the files and see if you can alter the size by specifying the size % or pixels

          1 Reply Last reply Reply Quote 0
          • M Offline
            mrdenmark
            last edited by mrdenmark

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

            ? 1 Reply Last reply Reply Quote 0
            • ? 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
                                • J Offline
                                  jani.karna
                                  last edited by

                                  @Sean
                                  That is exactly what I’m saying. I don’t think I have that many events. Just in case I tried maxItems: 500, but that didn’t change anything.

                                  My config looks like this:

                                  module: 'MMM-CalendarExt2',
                                      		config: {
                                      				scenes: [
                                      						{
                                      							name: "DEFAULT",
                                      							views: [],
                                      						},
                                      				],
                                      				views: [
                                      						{
                                      							name: "Kaikki",
                                      							mode: "week",
                                      							slotCount: 4,
                                      							maxItems: 500,
                                      							fromNow: 0,
                                      							slotTitleFormat: "D.",
                                      							slotAltTitleFormat: "D. MMM",
                                      							position: "bottom_bar",
                                      							className: "monthClass",
                                      							hideOverflow: "false",
                                      							slotMaxHeight: "150px",
                                      							calendars: [],
                                      							timeFormat: "HH.mm",
                                      							dateFormat: "DD.MM",
                                  

                                  As I said earlier, it keeps rotating between 3 different calendars and they never show in one view at the same time.

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

                                    @jani-karna
                                    Are those a full configuration of MMM-CalendarExt2 ? Share with me including your real ical url. (eouia0819@gmail.com)

                                    1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      mrdenmark
                                      last edited by

                                      i’m sure thge answer to this question will be in the wiki but i either can’t find it or dont understand it.
                                      i have 2 things i’;d like to change,
                                      in the current and upcoming views you can see the titles i’ve entered and i’d like to remove/change where it says upcoming/current

                                      in whe weeks view the events are cut short,how do i make them wrap or use more lines to show the full entry?
                                      thanks in advance0_1573542519234_2019-11-12-195357_1080x1920_scrot.png

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

                                        @mrdenmark
                                        1)
                                        0_1573543775612_3ad2e9f0-4bd1-4bd0-8796-b34c00695d3c-image.png

                                        0_1573543804451_0e1aaf84-7151-4761-b8c6-06ccd5d39bf1-image.png

                                        1. Not possible easily. I regard month and week view as a brief summary or overview. MM screen is too narrow to display full events details. Other calendar programs - e.g: Google Calendar or Apple Calendar also provide a simple month view like this. You’d better to use other views together to display details of major events (upcoming or current or daily)
                                          And You can transform title of the event to more shorter abbreviation(e.g: “jack climbing” = > “J.C.”) or using icon and class intentionally. (“morfar’s birthday” = > cake icon + “morfar”). You can achieve this by using transform.
                                        M jdfraserJ 2 Replies Last reply Reply Quote 0
                                        • M Offline
                                          mrdenmark @Guest
                                          last edited by

                                          @Sean
                                          thanks for that,
                                          i changed a few things in the screenshot below and another thing i can’t figure how to change is the current and upcoming views
                                          the first calender-dishwasher duty- only ever shows one name per day but it seems to have several slots reeserved for it, i tried changing maxslots and maxheight but it resulted in a +1 showing for the entry,its also a larger block size in height than the ones in the upcoming view below it,how can i reduce the size of both the slot and the black area below it?
                                          0_1573550715844_2019-11-12-221628_1080x1920_scrot.png
                                          here’s my config for the views-

                                           views: [
                                            {
                                              name: "Dishwasher Duty",
                                              mode: "current",
                                              slotTitle: "Dishwasher Duty",
                                              position: "top_left",
                                              maxitems: 1,
                                              hideOveflow: true,
                                              useEventTimeRelative: false,
                                              calendars: ["Dishwasher Duty"],
                                            },
                                          {
                                              name: "Todays Events",
                                              mode: "current",
                                              slotTitle: "Todays Events",
                                              position: "top_left",
                                              useEventTimeRelative: false,
                                              maxitems: 500,
                                              calendars: ["family", "Rubbish Collection", "Public Holiday"],
                                            },
                                          {
                                              name: "Upcoming Events",
                                              mode: "upcoming",
                                              slotTitle: "Upcoming Events",
                                              position: "top_left",
                                              maxitems: 500,
                                              useEventTimeRelative: false,
                                              calendars: ["family", "Rubbish Collection", "Public Holiday"],
                                            },
                                            {
                                              name: "My family affairs",
                                              mode: "week",
                                              position: "bottom_bar",
                                              maxitems: 500,
                                              calendars: ["family", "Rubbish Collection", "Public Holiday"],
                                            },
                                              ],
                                          
                                          ? 1 Reply Last reply Reply Quote 0
                                          • ? Offline
                                            A Former User @mrdenmark
                                            last edited by

                                            @mrdenmark
                                            0_1573551684210_0ac90f89-5d49-473d-b41c-204ecc041f14-image.png

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 15
                                            • 16
                                            • 17
                                            • 18
                                            • 19
                                            • 24
                                            • 25
                                            • 17 / 25
                                            • 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