• 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 @onryanti
    last edited by Sep 23, 2022, 6:39 AM

    @onryanti

    // In the config of the module;
    config: {
      weekIndex: 0, // From which week the view starts; -1 : last week, 0: this week 2: 2 weeks later, ...
      weeksInView: 3, // How many weeks will be shown from `weekIndex`
    ...
    }
    
    
    1 Reply Last reply Reply Quote 0
    • O Offline
      onryanti @sdetweil
      last edited by Sep 23, 2022, 7:07 AM

      @sdetweil I managed to solve it to show the calendar how I wanted to. Thanks

      1 Reply Last reply Reply Quote 0
      • O Offline
        Ottosophie @sdetweil
        last edited by Sep 23, 2022, 8:52 AM

        @sdetweil
        I’m already with weeksInView: 1, my screen is in portrait mode, so the boxes are not very wide. I would have liked an automatic lineup. I tried to decrease the font size, but it doesn’t show anything anymore. If anyone has a solution, thanks in advance.

        M 1 Reply Last reply Sep 23, 2022, 9:17 AM Reply Quote 0
        • M Offline
          MMRIZE @Ottosophie
          last edited by MMRIZE Sep 23, 2022, 9:32 AM Sep 23, 2022, 9:17 AM

          @Ottosophie

          // In the config of the module;
          config: {
            fontSize: '12px', // default would be 18px. 
            eventHeight: '16px', // the height of the event block. default would be 22px. usually 4px greater than `fontSize` would be pretty to look.
            maxEventLines: 5, // How many events will be displayed in a day cell. The overflowed events will be hidden.
          ...
          }
          

          I don’t recommend wrapup long text to the multi-lines in the cell instead of one-line clipped. Because it could make misalignments, it might look more complex to glance at the events and unpretty.

          What I suggest are;

          • Use with default calendar view or MMM-CalendarExt3Agenda to look for more detailed information for upcoming events. Do you really want the exact title of the events which will come 3 weeks later?
          • To distinguish events more clearly, instead of a long title, you can transform it into a shorter obvious form with the acronym, emoji, color…
            For example, you can shorten all OOO's birthday to 🎂 OOO. It would be a more intuitive form than lengthy text.
          
          eventTransformer: (ev) => {
            if (ev.title.search('birthday') > -1)  ev.title = '🎂' + ev.title.replace("'s birthday", ' ')
            return ev
          }
          
          B 1 Reply Last reply Sep 23, 2022, 9:00 PM Reply Quote 0
          • B Offline
            BKeyport Module Developer @MMRIZE
            last edited by Sep 23, 2022, 9:00 PM

            @Ottosophie to echo @MMRIZE here - I would also recommend CX3Agenda as well, over in it’s thread, https://forum.magicmirror.builders/topic/16976/mmm-calendarext3agenda/ MMRize and I have hashed out how to do all sorts of pretty things with it, including wrapping long events, etc. You actually may find that in CX3A’s current state, it would replace CX3 completely.

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

            O 1 Reply Last reply Sep 30, 2022, 2:01 PM Reply Quote 0
            • O Offline
              Ottosophie @BKeyport
              last edited by Sep 30, 2022, 2:01 PM

              @BKeyport thanks, I’m going to try it.

              1 Reply Last reply Reply Quote 0
              • L Offline
                Lilleberg
                last edited by Oct 27, 2022, 9:07 PM

                Can anyone help me with theese issues. This is probably easy coding, but for a newbie as me, I need som help.

                I want the first letter in the weekdays to be capital. How to do that?
                I want to display a symbol in front of a specific calendar events. I have one calendar for all the birthdays during a year, and I want for example a cake as a symbol in front of all the events from this specific calendar. All the other calendars should be without a symbol.

                S M 3 Replies Last reply Oct 27, 2022, 9:32 PM Reply Quote 0
                • S Away
                  sdetweil @Lilleberg
                  last edited by Oct 27, 2022, 9:32 PM

                  @Lilleberg ext3 gets the symbol info from the base calendar module. so create a custom event if u can to identify those entries and specify a symbol.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    MMRIZE @Lilleberg
                    last edited by Oct 28, 2022, 8:49 AM

                    @Lilleberg

                    I want the first letter in the weekdays to be capital. How to do that?

                    By default, there is no transformation for the letter of weekday name. Your locale decides it. What are your language and locale?

                    L 1 Reply Last reply Nov 7, 2022, 7:59 AM Reply Quote 0
                    • M Offline
                      MMRIZE @Lilleberg
                      last edited by Oct 28, 2022, 9:16 AM

                      @Lilleberg said in MMM-CalendarExt3:

                      I want to display a symbol in front of a specific calendar events. I have one calendar for all the birthdays during a year, and I want for example a cake as a symbol in front of all the events from this specific calendar. All the other calendars should be without a symbol.

                      You can assign a symbol to the specific calendar on the default calendar module’s configuration, not MMM-CalendarExt3’s.

                      9d5a0d56-73e6-4e98-bf57-228ba077f8a9-image.png

                      Or you can transform data of event itself by eventTransformer property, like this;
                      bfe1d1e1-af8f-4c6d-bd11-8e305dca1173-image.png

                      I recommend prior.

                      L 1 Reply Last reply Nov 7, 2022, 8:37 AM Reply Quote -1
                      • 1
                      • 2
                      • 13
                      • 14
                      • 15
                      • 16
                      • 17
                      • 65
                      • 66
                      • 15 / 66
                      • 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