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

    Scheduled Pinned Locked Moved Utilities
    224 Posts 30 Posters 361.2k Views 32 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
      MMRIZE @htilburgs
      last edited by

      @htilburgs
      You can give instanceId for each instance. Then you can specify CSS selector with that instanceId.

      /* config/config.js */
      module: 'MMM-CalendarExt3Agenda',
      position: 'top_left',
      config: {
        instanceId: 'mymodule1',
        ...
      
      /* css/custom.css */
      .CX3A_mymodule1 .agenda { // You can select a specific instance like this.
        display: none;
      }
      

      f09c5d43-5fe6-4f1c-ab85-e7d638146b28-image.png

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

        @htilburgs
        But I’m sorry, I forgot to implement that feature until now. :D.(nobody found it was not implemented )I fix it now. You can update the module and use that instanceId selector. Sorry again. :D

        htilburgsH 2 Replies Last reply Reply Quote 0
        • htilburgsH Offline
          htilburgs @MMRIZE
          last edited by

          @MMRIZE
          I didn’t see it either in the documentation, my mistake. Thanks for the quick reply and fix. I’ll try when I’m at home.

          (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

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

            @htilburgs if you have 2 instance and want different css behavior, then you need to add more entries to custom.css using another selector prefix

            you can add a fake name to the classes property (at same level as module and position) and use that name instead of .CX3A.
            note the dot in front means classname

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil thanks Sam for the extra explanation.

              (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

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

                @htilburgs so an example

                in the second instance of agenda

                add

                  classes:"agenda2",
                

                after the

                  module:"MMM-CalendarExt3Agenda",
                

                and in the css
                copy all the .CX3A settings you have
                and add

                .agenda2 
                

                and a space after .agenda2
                as the start of the line w .CX3A

                .agenda2 .CX3A ....
                

                on all the newly duplicated lines
                leave out the ones you don’t want on the second instance of course

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                htilburgsH 1 Reply Last reply Reply Quote 0
                • htilburgsH Offline
                  htilburgs @MMRIZE
                  last edited by

                  @MMRIZE I’ve tried, but no luck

                  (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

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

                    @sdetweil Yes! This works. Thanks

                    (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

                    1 Reply Last reply Reply Quote 1
                    • D Offline
                      danny607 @ffingers6
                      last edited by

                      @ffingers6 how do you get that view? can you post out the config.js and or relevant module JS thanks.

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        MMRIZE @danny607
                        last edited by

                        @danny607
                        https://forum.magicmirror.builders/topic/16976/mmm-calendarext3agenda/152?_=1725781945711

                        1 Reply Last reply Reply Quote 0
                        • M MMRIZE referenced this topic on
                        • D Offline
                          Dr8ke
                          last edited by

                          This is a great module thank you!

                          It may be something obvious but I’ve been searching without any luck. I’m trying to see how I can get more events to appear in the agenda. But I can seem to go beyond what’s in the screenshot. I’ll be using portrait mode so I have lots of room. I’ve include my config file and CSS file if that helps. Any help would be much appreciated, thank you!

                          Agenda.png

                          Config.js

                          	module: 'calendar',
                          			header: "Calendar",
                          			//position: 'top_center',   *Calendar is needed for the MMM-CalendarExt3Agenda but taking away it's position hides it.
                          						config: {
                          						wrapEvents: true,
                          						fetchInterval: 300000, 
                          						maximumEntries: 100,
                          						displaySymbol: true,
                          						calendars: [
                          

                          Custom.css

                          
                          /******** CX3-Agenda ********/
                          
                          /*Remove CW from the miniMonth*/
                          .CX3A .miniMonth .cw {
                            display: none;
                          }
                          
                          /*show/hide event description or location*/
                          .CX3A .agenda .event .description,
                          .CX3A .agenda .event .location {
                            display: none;
                          }
                          
                          .CX3A .cellBody .fullday .event .headline .symbol,
                          .CX3A .cellBody .fullday .event .headline .symbol * {
                            display: inline-block;
                            color: var(--oppositeColor);
                          }
                          
                          
                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            sdetweil @Dr8ke
                            last edited by

                            @Dr8ke here is the full size

                            .CX3A .agenda {
                              position: relative;
                              max-height: 600px;
                              overflow-y: hidden;  // if it gets bigger, truncate and hide
                              mask-image: linear-gradient(to bottom, transparent, black 10%);
                              -webkit-mask-image: -webkit-linear-gradient(90deg, transparent, black 10%);
                            }
                            

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

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

                              @sdetweil

                              Thank you very much!

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

                                @Dr8ke that was from the module css

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  bassin12
                                  last edited by

                                  Good day everyone, I just resurrect my MagicMirror and I saw so many new things and loving the new modules, got everything to work but haven’t figure out one thing with the CalendarExt3Agenda, I would like to display only today events, I tried different configurations with:

                                  			startDayIndex: 0,
                                  			endDayIndex: 1,
                                  

                                  With this, I get today and tomorrow, and I know this is right, but when I try

                                  			startDayIndex: 0,
                                  			endDayIndex: 0,
                                  

                                  I get a blank today without any event being display, any clue?

                                  Thanks

                                  Leo

                                  M 2 Replies Last reply Reply Quote 0
                                  • M Offline
                                    MMRIZE @bassin12
                                    last edited by

                                    @bassin12
                                    I’ll look inside; maybe it was my mistake.

                                    1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      MMRIZE @bassin12
                                      last edited by

                                      @bassin12
                                      Updated. There was a logical bug in the code. Sorry.

                                      B 1 Reply Last reply Reply Quote 0
                                      • B Offline
                                        bassin12 @MMRIZE
                                        last edited by

                                        @MMRIZE Nothing to apologize for, it is a great module.

                                        Leo

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

                                          Hi all. I just updated to the latest release of MagicMirror code to take advantage of the fixes for recurring calendar events. Unfortunately all of my calendars with MMM-CalendarExt3Agenda are showing no events after the update. However, I do see that it’s loading them from the ical addresses in the debug logs.

                                          Anyone else having this problem?

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

                                            @shizzlesticks see
                                            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

                                            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
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 9 / 12
                                            • 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