• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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
656 Posts 78 Posters 1.8m Views 82 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 @BKeyport
    last edited by MMRIZE Jul 27, 2023, 2:56 PM Jul 27, 2023, 2:55 PM

    @BKeyport

    For the special calendar, (You should assign instanceId: "specialCalendar" in config)

    .module.MMM-CalendarExt3:has(.CX3_specialCalendar) .module-header {
      color: red;
      font-weight: bold;
      font-size: 2em;
    }
    

    will show;
    CX3.png

    If you want to apply globally or have only one instance of the module;

    .module.MMM-CalendarExt3 .module-header {
    ...
    }
    

    will work.

    1 Reply Last reply Reply Quote 0
    • M Offline
      MMRIZE @MMRIZE
      last edited by MMRIZE Jul 27, 2023, 3:01 PM Jul 27, 2023, 3:00 PM

      @tjat
      @MMRIZE said in MMM-CalendarExt3:

      But the order of text would be decided by locale. So this will show 2023 July or July 2023. (and comma included/not, punctuation mark included/not, … depends on the standard rules of the culture by the locale.)
      If you want to adjust the order or composition of words, you may need CSS customization additionally.

      This is my bad. The module header of this module is not refined to be possible to be a conjunction. So you need to set up your locale for your wish.
      Or if you want really that feature, I’ll consider updating it.

      T 1 Reply Last reply Jul 28, 2023, 12:48 AM Reply Quote 0
      • P Offline
        pastormingle @MMRIZE
        last edited by Jul 27, 2023, 3:34 PM

        @MMRIZE i changed due to time zones not displaying correctly. I having meetings that are at times from other countries and it wouldn’t display correctly and as Ext3 is the most current it was suggested to upgrade to it… Then my Raspberry PI SD card crashed and i lost my original configuration. So now it’s a learning curve either way.

        P 1 Reply Last reply Jul 27, 2023, 3:36 PM Reply Quote 0
        • P Offline
          pastormingle @pastormingle
          last edited by Jul 27, 2023, 3:36 PM

          @pastormingle Is there a location were i can look at more detailed instructions on Ext3 or some configuration files that i can look at?

          M 1 Reply Last reply Jul 27, 2023, 3:53 PM Reply Quote 0
          • M Offline
            MMRIZE @pastormingle
            last edited by Jul 27, 2023, 3:53 PM

            @pastormingle
            I will show you some examples tomorrow.

            P 1 Reply Last reply Jul 27, 2023, 4:46 PM Reply Quote 0
            • P Offline
              pastormingle @MMRIZE
              last edited by Jul 27, 2023, 4:46 PM

              @MMRIZE Thanks.

              M 1 Reply Last reply Jul 28, 2023, 10:10 AM Reply Quote 0
              • T Offline
                tjat @MMRIZE
                last edited by Jul 28, 2023, 12:48 AM

                @MMRIZE No worries, it worked perfectly.

                My latest issue is that I’m struggling to refresh the calendar when I add a new event to my google calendar. I’m temporarily working on a local copy to play around with the JS and have this step currently. Would this work or is there an easier/better way that you’ve already built?

                forceRefresh: function() {
                   console.log("forceRefresh called");
                
                   if (this.refreshTimer) {
                     clearTimeout(this.refreshTimer);
                     this.refreshTimer = null;
                   }
                   this.tempMoment = null;
                   this.stepIndex = 0;
                   this.updateDom(this.config.animationSpeed);
                 }
                
                S M 2 Replies Last reply Jul 28, 2023, 12:50 AM Reply Quote 0
                • S Offline
                  sdetweil @tjat
                  last edited by Jul 28, 2023, 12:50 AM

                  @tjat ext3 gets its data from the default calendar module…

                  there is no notification to force refresh its content. only the fetchInterval.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  T 1 Reply Last reply Jul 28, 2023, 12:56 AM Reply Quote 0
                  • T Offline
                    tjat @sdetweil
                    last edited by Jul 28, 2023, 12:56 AM

                    @sdetweil so do I instead need to cause the default calendar module to refresh with my google calendar content?

                    Everything updates when I close and reload the magic mirror so just trying to update on demand within the same instance.

                    S 1 Reply Last reply Jul 28, 2023, 1:00 AM Reply Quote 0
                    • S Offline
                      sdetweil @tjat
                      last edited by Jul 28, 2023, 1:00 AM

                      @tjat you cannot cause the default calendar to refresh.
                      it DOES load the ics on startup…

                      so , only thing you could do is cause a complete restart of the MM app

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 28
                      • 29
                      • 30
                      • 31
                      • 32
                      • 65
                      • 66
                      • 30 / 66
                      30 / 66
                      • First post
                        296/656
                        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