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
    676 Posts 81 Posters 2.4m Views 85 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.
    • S Offline
      sdetweil @fedale
      last edited by

      @fedale not sure on cw,

      you could check if it’s full day event. not sure. not my module

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • F Offline
        fedale @fedale
        last edited by

        @MMRIZE Any surgestions?

        Have some other questions.

        1. How to remove the CW wording, infront of the weeks number?

        2. The eventTransformer does not color not-fullday items. Is there a quick work around for that?
          So if i have only an hour in my calendar will still show color.

        /*
        eventTransformer: (ev) => {
        if (ev.title.search(‘garbage’) > -1) ev.color = ‘green’
        return ev
        }
        */

        1. Also i add picture to the eventTransformer? I had a recyle one for this garbage earlier.
        F 1 Reply Last reply Reply Quote 0
        • B Offline
          bicolorbore586 @fedale
          last edited by

          @fedale
          I have the below in my custom.css

          /* MMM-CalendarExt3 */
          .CX3 .cw {
          display:none;
          }
          
          F 1 Reply Last reply Reply Quote 0
          • F Offline
            fedale @bicolorbore586
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • F Offline
              fedale @fedale
              last edited by

              I learnt something new, never thought to look into the module folder css file.
              Always though only the main.css and custom.css was the only ones to change.

              Found the wordning now in MMM-CalendarExt3.css file within the module.
              Removing the CW, the way i wanted. Just wanted to share.

              MMM-CalendarExt3.css file and remove the CW to only get the week number:
              .CX3 .cw::before {
              content: 'CW ’
              }

              S B K 3 Replies Last reply Reply Quote 0
              • S Offline
                sdetweil @fedale
                last edited by

                @fedale u can override that in the custom.css

                don’t change the modules files, it will break upgraded and fixes

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • B Offline
                  bicolorbore586 @fedale
                  last edited by

                  @fedale yes, as Sam says, don’t modify the module css, all css work should be done in the custom.css

                  F 1 Reply Last reply Reply Quote 0
                  • F Offline
                    fedale @bicolorbore586
                    last edited by

                    @bicolorbore586 Thanks guys.

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      fedale
                      last edited by

                      Could i have icons on different words in calendar?
                      I only have one calendar, but previously cx2 could get with differnt pictures like this example.

                       if (event.title.search("Work") > -1) {
                      	event.icon = "ic:outline-work-outline";
                      	event.className = "work" 
                      

                      }
                      else if(event.title.search(“Trash”) > -1) {
                      event.icon = “mdi:recycle”;
                      event.className = “Trash”
                      }

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

                        @fedale I think it works the same

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 22
                        • 23
                        • 24
                        • 25
                        • 26
                        • 67
                        • 68
                        • 24 / 68
                        • 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