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

    Scheduled Pinned Locked Moved Utilities
    689 Posts 82 Posters 2.8m Views 86 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.
    • G Offline
      gonzonia @sdetweil
      last edited by

      @sdetweil No. I had not seen that. Installing now. Thanks!

      1 Reply Last reply Reply Quote 0
      • R Offline
        redink
        last edited by

        Would it be possible to combine the calendar color indicator at the time using just CSS?

        Right now, it’s a colored circle and the time next to it and I was wondering if it would somehow be possible to have the time be inside the circle, or have the time be a different background color.

        My display is quite small, and saving a few extra pixels would be nice.

        1 Reply Last reply Reply Quote 0
        • A Offline
          alfi153
          last edited by

          Hello.
          Is it possible that with the Calender-ext3 in the weekly display the calendar entries are displayed in two or three lines?

          1 Reply Last reply Reply Quote 0
          • CyruS1337C Offline
            CyruS1337 Project Sponsor
            last edited by

            Hello everyone

            I hope you can help me. I’m trying to get the calendar to display in Calendar Ext3.

            This is what my configuration looks like

                                    {
                                      module: "calendar",
                                      position: "top_left",
                                      config: {
                                        broadcastPastEvents: true, // <= IMPORTANT to see past events
                                        calendars: [
                                          {
                                            url: "https://calendar.google.com/calendar/ical/....................ics",
                                            name: "Andreas", // <= RECOMMENDED to assign name
                                            color: "red" // <= RECOMMENDED to assign color
                                            }
                                    ]
                                    }
                                  },
                                    {
                                      module: "MMM-CalendarExt3",
                                      position: "bottom_bar",
                                       title: "",
                                       config: {
                                        mode: "month",
                                        instanceId: "basicCalendar",
                                        locale: 'de-CH',
                                        maxEventLines: 5,
                                        firstDayOfWeek: 1,
                                        calendarSet: ['Andreas'],
                                      }
                            },
            
            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @CyruS1337
              last edited by

              @CyruS1337 did you install the fix?

              https://forum.magicmirror.builders/topic/19282/version-2-30-0-calendar-fix-for-clipping-broadcast-events

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              CyruS1337C 2 Replies Last reply Reply Quote 1
              • CyruS1337C Offline
                CyruS1337 Project Sponsor @sdetweil
                last edited by

                @sdetweil

                Great, it worked. I have one more question.
                Do I have to use the “calendar” module from MagicMirror, or would the MMM-MyCalendar module also work?

                						{
                			module: "MMM-MyCalendar",
                			position: "bottom_right",	// This can be any of the regions. Best results in left or right regions.
                			header: 'Kalender Andreas',
                		  config: {
                			colored: true,
                			maxTitleLength: 30, 
                			maximumEntries: 4,
                			displayRepeatingCountTitle: true,
                			timeFormat: "HH:mm",
                			dateFormat: "DD:MM:YYYY",
                			joiningWord: "um",
                			calendars: [
                			{
                				url: 'https://calendar.google.com/calendar/ical/................./basic.ics',
                				color: "#5b53d4",
                				symbol: 'calendar',
                				auth: {
                					user: 'username',
                					pass: 'superstrongpassword',
                					method: 'basic'
                								}
                			},
                			],
                	}
                		},
                						{
                			module: "MMM-MyCalendar",
                			position: "bottom_right",	// This can be any of the regions. Best results in left or right regions.
                			header: 'Kalender Daniela & Andreas',
                		  config: {
                			colored: true,
                			maxTitleLength: 30, 
                			maximumEntries: 4,
                			displayRepeatingCountTitle: true,
                			timeFormat: "HH:mm",
                			dateFormat: "DD:MM:YYYY",
                			joiningWord: "um",
                			calendars: [
                			{
                				url: 'https://calendar.google.com/calendar/ical/................./basic.ics',
                				color: "#f05db0",
                				symbol: 'calendar',
                				auth: {
                					user: 'username',
                					pass: 'superstrongpassword',
                					method: 'basic'
                								}
                			},
                			],
                	}
                		},
                
                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @CyruS1337
                  last edited by

                  @CyruS1337 MAYBE it will work, but it is a clone of the default cal from 3 years ago, with the broken repeating schedule code…
                  which I just fixed in the latest release 2.30.0, Jan 1…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • CyruS1337C Offline
                    CyruS1337 Project Sponsor @sdetweil
                    last edited by

                    @sdetweil thanks a lot. It works

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      p1lspeda
                      last edited by

                      Hi,
                      CSS is driving my crazy.
                      9a7f7331-0a18-4211-a87d-c0ac29321eca-image.png

                      As you can see in the above screenshot, today (Tuesday) the top (weather, today’s Date & Month) take up the entire width.
                      This is fine.
                      The “problem” was yesterday with the additional “CW13” which led to overlapping.
                      I was wondering; if I could minimize the padding around the current date (the red area in the screenshot), theoretically the space should be big enough for all info to be next to each other

                      I tried adjusting the css

                      .CX3 .today .cellDate {
                        padding: 1px 8px;
                        }
                      

                      but unfortunately, that did not have any effect.

                      Can somebody point me in the right direction ?
                      Thanks

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

                        @p1lspeda I do not know , but you can use the developers window to fiddle with css changes live

                        see the second link in my signature below

                        also see this topic where we discussed css and the dev window just a couple days ago
                        https://forum.magicmirror.builders/topic/19559/css-modifications-on-a-module-which-has-no-own-css-styles

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • BKeyportB Offline
                          BKeyport Module Developer @p1lspeda
                          last edited by BKeyport

                          @p1lspeda

                          I think you’ll find that it’s because of the .cellDate property - it’s set to flex-grow: 3

                          Almost everything on that line is also connected to .cellHeader.

                          I disable the CW line manually (from habit, don’t know if it’s an option to do in config) along with a few other modifications (including eliminating weather through config):

                          .CX3 .cellHeader {
                            text-align: right;
                            height: var(--cellheaderheight);
                            padding: 2px;
                            display: flex;
                            flex-direction: row;
                            justify-content: space-between;
                            font-size: 100%;
                          }
                          
                          /* Disable CW date */
                          .CX3 .cw {
                          	display: none;
                          }
                          

                          This results in the header taking up the entire space.

                          Look for the .cellHeader properties in the main CSS file, and copy them over to your custom.css to mess with them all you want and see what happens.

                          Pay special attention to justify-content in .cellHeader in combination with the flex-grow in .cellDate

                          The "E" in "Javascript" stands for "Easy"

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

                            @BKeyport you can override in dev window, no need to copy

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            BKeyportB 1 Reply Last reply Reply Quote 0
                            • BKeyportB Offline
                              BKeyport Module Developer @sdetweil
                              last edited by

                              @sdetweil right, but once you have the changes you want, you have to figure out how to implement them, and I’ve noticed with CX3 and some other modules, sometimes the dev window flat out lies where to stuff the CSS for final.

                              The "E" in "Javascript" stands for "Easy"

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

                                @BKeyport you copy/paste from the top right to custom.css
                                with the selected selector from right of bottom left pane w the modulename class prefix

                                will post images later, in car now

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

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

                                  @BKeyport never seen it lie

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    p1lspeda
                                    last edited by

                                    Thanks folks,
                                    much appreciated that you invest your free-time to help simpletons like me.
                                    My custom.css now includes

                                    .CX3 .cellHeader .cellDate {
                                            flex-grow: 0;
                                    }
                                    
                                    .CX3 .cw::before {
                                            content: "CW";
                                            margin-right: 0px;
                                    }
                                    

                                    which seems to achieve what I was/am looking for.

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

                                      @BKeyport here is my dev window steps
                                      the background area for the today highlight is smaller than the font size (set with the cx3-… properties)
                                      broken thing.png

                                      now w the element selected
                                      fixed 3 areas.png

                                      can’t copy/paste the selector list bottom,
                                      so copy the element it self
                                      copy element.png
                                      and paste into editor on custom.css
                                      Snip20250326_7.png

                                      now keep/remove the text to match the bottom selector row

                                      div .cell.today.thisMonth.thisYear.year_2025.month_3.date_25.weekday_2 div.cellHeader div.cellDate
                                      

                                      add the module name in front

                                      .CX3 div .cell.today.thisMonth.thisYear.year_2025.month_3.date_25.weekday_2 div.cellHeader div.cellDate {
                                      
                                      }
                                      

                                      then copy the change in the dev window
                                      Screenshot 2025-03-26 at 6.51.58 AM.png

                                      and paste into custom.css inside the braces of the thing you just added

                                      .CX3 div .cell.today.thisMonth.thisYear.year_2025.month_3.date_25.weekday_2 div.cellHeader div.cellDate {
                                       height: 1em;
                                      text-align: left;
                                      }
                                      

                                      now. you MIGHT know (or not) that we ONLY need to target the ‘today’ and ‘celldate’ classes , not JUST this ACTUAL date (mar 25)

                                      so we should shorten the selector… so it also works tomorrow

                                      .CX3 div .cell.today div.cellDate {
                                       height: 1em;
                                      }
                                      

                                      every module it different, so it takes some thinking about what you are seeing

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        cricket
                                        last edited by

                                        Hi - I have struggled with this for the past 24 hours and I cannot figure it. If someone can provide me ELI5 instructions I would appreciate it as CSS is not my strong suit. I am changing things in the custom.css file - perhaps what I want to do cannot be changed there.

                                        I would like to change the width and height of the calendar boxes, regardless of the data in them. I have figured out how to increase font size, but the cell/box size does not grow dynamically as thought it would. Any help appreciated.

                                        .CX3 {
                                          font-size: 20px;
                                        }
                                        
                                        S 1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          sdetweil @cricket
                                          last edited by sdetweil

                                          @cricket you need to change the – variables he has defined… see the README.md file
                                          https://github.com/MMRIZE/MMM-CalendarExt3?tab=readme-ov-file#styling-with-css

                                          from configuration means

                                          fontSize	'18px'	Default font size of this module.
                                          eventHeight	'22px'	The height of each event.
                                          

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          C 1 Reply Last reply Reply Quote 0
                                          • C Offline
                                            cricket @sdetweil
                                            last edited by

                                            @sdetweil
                                            Believe me I have and have looked at it at least times, I simply don’t understand how to achieve what I am asking. I have figured out the font size by what I included above. But I don’t understand how change the size of the day cell/box even if it is empty.

                                            S 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
                                            • 26
                                            • 27
                                            • 28
                                            • 29
                                            • 30
                                            • 34
                                            • 35
                                            • 28 / 35
                                            • 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