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

    Scheduled Pinned Locked Moved Utilities
    109 Posts 40 Posters 144.3k Views 38 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
      Mike7400
      last edited by Mike7400

      Is it possible to change the color of title and date for each calendar?

      1 Reply Last reply Reply Quote 0
      • H Offline
        himanshulotia
        last edited by

        Just newbie over here. I have used MMM-Mycalendar module to show two different calendar on two separate area of the mirror (bottom_left & bottom_right)
        I want heading on each calendar to have different color and if possible icon as well.

        Is this possible?

        N 1 Reply Last reply Reply Quote 0
        • twosquirrelsT Offline
          twosquirrels
          last edited by

          This module just won’t display a 2-column layout for me despite it being enabled in the config:

          {
                  module: "MMM-MyCalendar",
                  header: "Family Calendar",
                  position: "top_left",    // This can be any of the regions. Best results in left or right regions.
                  config: {
          colored: true,
          maximumEntries: 6,
          columns: true,
          showLocation: false,
          maxTitleLength: 200,
          fetchInterval: 120000,
          fade: false,
          calendars: [
          .....
          
          N 1 Reply Last reply Reply Quote 0
          • N Offline
            ninjabreadman @twosquirrels
            last edited by

            @twosquirrels Does MMM-MyCalendar support a column layout? I can’t find any reference to a columns property for its config: https://github.com/jclarke0000/MMM-MyCalendar/blob/master/README.md

            Problem with config or JavaScript? Copy/paste it into JSHint.
            Check out the detailed walkthroughs on install, config, modules, etc.

            twosquirrelsT 1 Reply Last reply Reply Quote 0
            • twosquirrelsT Offline
              twosquirrels @ninjabreadman
              last edited by twosquirrels

              @ninjabreadman Page 1 contains an update where it mentions support for 2 columns:
              https://forum.magicmirror.builders/topic/2559/mmm-mycalendar?page=1

              alt text

              N 1 Reply Last reply Reply Quote 0
              • N Offline
                ninjabreadman @himanshulotia
                last edited by

                @himanshulotia Yes.

                First, you can set colored: true in the config, then add color: "#d9b4b2” and color: "#a0cfe2" per the docs.

                Second, have a look at the FontAwesome 4 docs. You could likely insert them into your headings. For how to insert images, you could probably use CSS if you can find the right selectors.

                Problem with config or JavaScript? Copy/paste it into JSHint.
                Check out the detailed walkthroughs on install, config, modules, etc.

                1 Reply Last reply Reply Quote 0
                • N Offline
                  ninjabreadman @twosquirrels
                  last edited by ninjabreadman

                  @twosquirrels It looks like you need to use the using_nunjucks branch. The default branch is still (it seems to me, on my phone) 1.0 – it doesn’t contain an .njk template file.

                  Problem with config or JavaScript? Copy/paste it into JSHint.
                  Check out the detailed walkthroughs on install, config, modules, etc.

                  twosquirrelsT 1 Reply Last reply Reply Quote 0
                  • twosquirrelsT Offline
                    twosquirrels @ninjabreadman
                    last edited by twosquirrels

                    @ninjabreadman

                    Ahh, I see. Silly question - how do I pull from that branch instead of from the master? I googled the differences but it’s not making sense to me.

                    AHH! I figured it out:

                    pi@magicmirror:~/MagicMirror/modules $ git clone -b using_nunjucks https://github.com/jclarke0000/MMM-MyCalendar.git
                    Cloning into 'MMM-MyCalendar'...
                    remote: Counting objects: 84, done.
                    remote: Total 84 (delta 0), reused 0 (delta 0), pack-reused 84
                    Unpacking objects: 100% (84/84), done.
                    

                    @ninjabreadman thank you for pointing this out!

                    1 Reply Last reply Reply Quote 1
                    • S Offline
                      smreid
                      last edited by

                      Hi

                      Just wondering if there is anyway I can use custom symbols for calendar entries in place of the ‘day of the month’ logos? Similar to the default calendar module?

                      Thanks
                      Stephen

                      1 Reply Last reply Reply Quote 1
                      • C Offline
                        cola0927
                        last edited by

                        Hi, it’s really a nice module, but got a small issue here. I’m wondering how to make the event contents left-aligned. I tried to modify some parameters in MMM-MyCalendar.css, but didn’t work.
                        Thanks!

                        0_1537506110763_屏幕快照 2018-09-20 下午11.59.52.png

                        justjim1220J 1 Reply Last reply Reply Quote 0
                        • justjim1220J Offline
                          justjim1220 Module Developer @cola0927
                          last edited by

                          @cola0927

                          change the text-align under title in the css

                          .MMM-MyCalendar .title {
                            color: #ff0;
                            font-size: 55px;
                            line-height: 115%;
                            font-weight: 600;
                            text-align: left;
                            padding-left: 0;
                            margin-bottom: 2px;
                            white-space: nowrap;
                            text-overflow: ellipsis;
                            border-radius: 15px;
                            overflow: hidden;
                            display: block;
                            margin-top: 4px;
                          }
                          

                          "Life's Too Short To Dance With Ugly People"
                          Jim Hallock - 1995

                          C 1 Reply Last reply Reply Quote 0
                          • C Offline
                            cola0927 @justjim1220
                            last edited by

                            @justjim1220 Cool! Thank you so much!

                            1 Reply Last reply Reply Quote 1
                            • H Offline
                              hoveeman
                              last edited by

                              This module is great! Thank you!

                              Is it possible to add a header/title for the day of the week with the items below it? Essentially you would see Monday and the corresponding items below it. Then Tuesday and it’s items, and so forth.

                              Any thoughts?

                              J 1 Reply Last reply Reply Quote 0
                              • J Offline
                                j.e.f.f Project Sponsor Module Developer @hoveeman
                                last edited by

                                @hoveeman yeah should be doable. Let me take a look over the next few days.

                                H B 2 Replies Last reply Reply Quote 0
                                • H Offline
                                  hoveeman @j.e.f.f
                                  last edited by

                                  @j-e-f-f Awesome, that would be great! Really appreciate it!

                                  Also, I would envision if there were no items for Wednesday it would not list anything and go straight to Thursday. Thoughts?

                                  1 Reply Last reply Reply Quote 0
                                  • bokifideB Offline
                                    bokifide
                                    last edited by

                                    Hi! Love the module :). Just wondering if there’s a way to space out the columns enough so that the titles don’t get cut off:

                                    0_1540153230781_378e9fbc-398f-47a5-9960-871cf5914917-image.png

                                    Thank you for your work!!
                                    Boki

                                    J 1 Reply Last reply Reply Quote 0
                                    • MedoM Offline
                                      Medo
                                      last edited by Medo

                                      Hey there!

                                      For some time now, i have the following issue:

                                      My MMM-MyCalendar is showing dates wrongly (one day in the past) although they are correct in the used ics-file.

                                      I moved my question over to the “troubleshooting” section (as it seems it fits better there):

                                      https://forum.magicmirror.builders/topic/8963/mmm-mycalendar-showing-wrong-dates-days-one-day-in-the-past

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        j.e.f.f Project Sponsor Module Developer @bokifide
                                        last edited by

                                        @bokifide You would need to write some custom CSS to adjust the width of the containing column. The module is designed to used all of the space available in its container.

                                        1 Reply Last reply Reply Quote 0
                                        • V Offline
                                          VinGroot
                                          last edited by VinGroot

                                          I’d like to have absolute days in my calendar, but all I see is ‘today’, Saturday (without date), etc.

                                          My config is:
                                          maximumEntries: 8,
                                          useRelativeDates: false,
                                          joiningWord: “om”,
                                          maxTitleLength: 48,
                                          dateFormat: “D MMMM YYYY”,
                                          timeFormat: “HH:mm”,
                                          urgency: 0,
                                          getRelative: 0,
                                          calendars: [
                                          * secret *]

                                          Am I doing something wrong?

                                          Some things like timeFormat (HH:mm), maxTitleLength and joiningWord work fine.

                                          1 Reply Last reply Reply Quote 0
                                          • V Offline
                                            VinGroot
                                            last edited by

                                            This post is deleted!
                                            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
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 2 / 6
                                            • 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