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-CalendarExt

    Scheduled Pinned Locked Moved Productivity
    198 Posts 45 Posters 232.8k Views 45 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 @Frek
      last edited by

      @frek said in MMM-CalendarExt:

      div.CALEXT .tableStyle .fulldayevent .eventTime {
      display:none;
      }
      div.CALEXT .tableStyle .eventTime {
      display:block;
      font-weight:normal;
      font-size:70%;
      }
      .CALEXT .tableStyle td.slot {
      max-height:200px;
      height:200px;
      }
      .CALEXT .tableStyle {
      margin:0;
      max-width: 100%;
      }

      I tested with your CSS but it works as expectation.

      0_1549613462811_test1111.png

      F 1 Reply Last reply Reply Quote 0
      • F Offline
        Frek @Guest
        last edited by

        @sean ah suck… my test calendar didnt have a full day event… just a long normal event. Google calandar tricked me by showing me it as a fullday event in their app…No wonder why it didnt work… thx for the help =)

        1 Reply Last reply Reply Quote 0
        • G Offline
          goalie2k
          last edited by

          Is it possible to make the event time display on the SAME line as the event title?

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

            @goalie2k
            Of course possible by adjusting CSS
            Add this into your css/custom.css

            .CALEXT .event .eventContainer {
              display: flex;
              flex-direction: row;
              flex-wrap: wrap;
            }
            
            
            .CALEXT .eventTime {
              order: 2;
              width: 30%;
            }
            
            .CALEXT .eventContent {
              order: 1;
              width: 70%;
            }
            

            It will show like this.
            0_1554273563144_test.png

            G 1 Reply Last reply Reply Quote 1
            • G Offline
              goalie2k @Guest
              last edited by

              @Sean said in MMM-CalendarExt:

              order: 2;
              width: 30%;

              YOU ROCK! Thank you!

              1 Reply Last reply Reply Quote 0
              • S Offline
                Subintro
                last edited by

                Hey does anyone know how to change text on the calendars?

                I’m using the ‘Current’ event, but it looks kind of confusing as it says ‘In 50 minutes’, which makes it seem like the event is in 50 minutes, but really ends in 50 minutes

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

                  @Subintro

                  With MMM-CalendarExt, it’s not so easy. You just use useRelative:0 to display normal time. Anyway “CURRENT” event will not be thing of “START IN FUTURE”, It is already started and be a kind of “END IN FUTURE” things. “CURRENT” means that.

                  How about using MMM-CalendarExt2? That is new build-up and the feature can be configurable and customizable by configuration.
                  https://github.com/eouia/MMM-CalendarExt2/wiki/Event-Time#2-relative

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

                    @Sean

                    Oh nice, I’ll check it out. Hopefully wont have to change too much with my config

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      Smotx
                      last edited by

                      Hi,

                      Little help please,

                      how to reduce the height of the module?

                      It adapts automatically to the content, but suddenly exceeds the top one

                      alt text

                      Thx a lot.

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

                        @Smotx
                        See this;
                        https://github.com/eouia/MMM-CalendarExt/wiki/Manipulation-of-looks#viewlimit--viewoverflow

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

                          @Sean

                          Thx for help, with your indication, i have finally used

                          overflowHeight: 200,
                          
                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            redink
                            last edited by

                            Is there a way to show the event start time in the same space as the even name?
                            Like 6p Swim Lesson

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

                              @redink
                              More detailed adjusting might be needed, but commonly see this.

                              https://forum.magicmirror.builders/topic/4624/mmm-calendarext/148

                              And, add onlyStartingTime: 1, in your view configuration

                              1 Reply Last reply Reply Quote 0
                              • I Offline
                                isaac2004
                                last edited by

                                Seems I cannot get the module to load. tried a few things, but it is just blank. I have the latest version of MM

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

                                  @isaac2004 I need log or more detailed info to catch what happened.

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    mmmmh Project Sponsor
                                    last edited by

                                    I successfully use the module on two other screens. I just set up a new one without tweaks and I run into the following error in the console (nothing gets loaded, server-side there are no errors being logged):

                                    Uncaught (in promise) TypeError: hookDom.appendChild is not a function
                                        at Render.js:590
                                        at Array.forEach (<anonymous>)
                                        at Render.drawViews (Render.js:581)
                                        at Class.getDom (MMM-CalendarExt.js:209)
                                        at main.js:110
                                        at new Promise (<anonymous>)
                                        at updateDom (main.js:109)
                                        at Object.updateDom (main.js:518)
                                        at Class.updateDom (module.js:358)
                                        at Class.draw (MMM-CalendarExt.js:680)
                                    
                                    ? 1 Reply Last reply Reply Quote 0
                                    • ? Offline
                                      A Former User @mmmmh
                                      last edited by

                                      @mmmmh did you set a position of view? your error says there might be an issue. I’m on a business trip now so i cannot check at this moment. later i’ll look inside.

                                      M 1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        mmmmh Project Sponsor @Guest
                                        last edited by

                                        @Sean yes, I set it to top_left:

                                        {
                                                    module: 'MMM-CalendarExt',
                                                    position: "top_left", //anywhere. It is not related to real position of view
                                                    classes: "default standard everyone",
                                                    config: { // Read below
                                                        system: {
                                                            show: ['current', 'upcoming'],
                                                            locale: 'de',
                                                            showEmptyView: 0,
                                                            fullDayEventLocalize: 1,
                                                            redrawInterval: 300000, 
                                                        },
                                                        defaultView: {
                                                            position: 'calendar',
                                                            positionOrder: -1,
                                                            overflowRolling: 0,
                                                            overflowHeight: 0,
                                                            overflowDuration: 2,
                                                            timeFormat: 'H:mm',
                                                            dateFormat: "ddd, D. MMM",
                                                            fullDayEventDateFormat: "ddd, D. MMM",
                                                            ellipsis: 0,
                                                            limit: 20,
                                                            oneLineEvent: 1,
                                                        },
                                                        views: {
                                                            current: {
                                                                title: "Now...",
                                                                direction: "column",
                                                                showEmptyView: 0,
                                                                useRelative: 0,
                                                            },
                                                            upcoming: {
                                                                title: "Was steht an...",
                                                                direction: "column",
                                                                useRelative: 0,
                                                                overflowHeight: 0,
                                                                overflowRolling: 0,
                                                            },
                                                        },
                                                        calendars: [
                                                            {
                                                                name: "XXXX",
                                                                symbol: "male",
                                                                styleName: "style24",
                                                                url: "redacted",
                                        
                                                                auth: {
                                                                    user: 'redacted',
                                                                    pass: 'redacted',
                                                                    method: 'basic'
                                                                }
                                                            },
                                                            
                                                        ],
                                        
                                                    },
                                                },
                                        

                                        Don’t worry, it’s not urgent.

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

                                          @mmmmh
                                          0_1558539944498_calext.png
                                          Well, I tried with yours and it works.
                                          But two things you probably have wrong.

                                          • url: "redacted", is it right? it will make parsing error and it could be reason of your front error message.
                                          • showEmptyView:1 will affect on only system level, not view level. You’ve set showEmptyView:0 in system, so empty view will not appear.
                                          M 1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            mmmmh Project Sponsor @Guest
                                            last edited by

                                            @Sean thanks for making the effort to test it. I went the same way now. I removed everything and picked a public trash collection calendar (nice idea of yours) - still the same error. (I also commented out the showEmptyView options.)

                                            The error appears locally (RPI3+) as well as in web browsers of all flavors.

                                            Here’s the full config file:

                                            var config = {
                                                address: "",
                                                port: 8080,
                                                ipWhitelist:
                                                    [],
                                                language: "de",
                                                timeFormat: 24,
                                                units: "metric",
                                                modules: [
                                                    {
                                                        module: 'MMM-CalendarExt',
                                                        position: "top_left", //anywhere. It is not related to real position of view
                                                        classes: "default standard everyone",
                                                        config: { // Read below
                                                            system: {
                                                                show: ['current', 'upcoming'],
                                                                locale: 'de',
                                                                // showEmptyView: 0,
                                                                fullDayEventLocalize: 1,
                                                                redrawInterval: 300000, 
                                            
                                                            },
                                                            defaultView: {
                                                                position: 'calendar',
                                                                positionOrder: -1,
                                                                overflowRolling: 0,
                                                                overflowHeight: 0,
                                                                overflowDuration: 2,
                                                                timeFormat: 'H:mm',
                                                                dateFormat: "ddd, D. MMM",
                                                                fullDayEventDateFormat: "ddd, D. MMM",
                                                                ellipsis: 0,
                                                                limit: 20,
                                                                oneLineEvent: 1,
                                                            },
                                                            views: {
                                                                current: {
                                                                    title: "Now...",
                                                                    direction: "column",
                                                                    // showEmptyView: 0,
                                                                    useRelative: 0,
                                                                },
                                                                upcoming: {
                                                                    title: "Upcoming...",
                                                                    direction: "column",
                                                                    useRelative: 0,
                                                                    overflowHeight: 0,
                                                                    overflowRolling: 0,
                                                                },
                                                            },
                                                            calendars: [
                                            
                                                                {
                                                                    name: "Trash",
                                                                    symbol: "male",
                                                                    styleName: "style24",
                                                                    url: "https://www.ekm-mittelsachsen.de/de/service-dienstleistungen/entsorgungstermine-abfallkalender/abfallkalender/ical/stadt/4870/year/2019/",
                                                                },
                                                            ],
                                                        },
                                                    },
                                                ]
                                            
                                            };
                                            
                                            /*************** DO NOT EDIT THE LINE BELOW ***************/
                                            if (typeof module !== "undefined") { module.exports = config; }
                                            
                                            ? 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
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 8 / 10
                                            • 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