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-calendarExtDays] Alternative days calendar view

    Scheduled Pinned Locked Moved Utilities
    10 Posts 5 Posters 7.6k Views 5 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.
    • ? Offline
      A Former User @Guest
      last edited by

      I think the text is too small under the real mirror. I’ll fix it later also. Sorry.

      1 Reply Last reply Reply Quote 0
      • L Offline
        Lausbuab1
        last edited by

        It looks great, but I wait, till you’ve finished it.

        PS: Gute Idee! :)

        ? 1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User @Lausbuab1
          last edited by

          @Lausbuab1
          Thanks for your intersting.
          Frankly said, I have confidence that this module will work finely. But I have not tested all the cases. My only worry is about that.
          Anyway, after adding features about monthly and weekly view, I’ll notice here.

          1 Reply Last reply Reply Quote 0
          • emloweE Offline
            emlowe Module Developer
            last edited by

            I really like this view so far. One change I like to do is this:

            eventContentWrapper.setAttribute(“title”, event.title);

            This sets a custom attribute called “title” and it allows a user to then custom color individual entries with css like this:

            .MMM-calendarExtDays .eventContent[title^=“C–”] { color:DarkViolet; }

            -Earle

            ? 1 Reply Last reply Reply Quote 0
            • cowboysdudeC Offline
              cowboysdude Module Developer
              last edited by

              WOW looks fantastic, great job!

              1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User @emlowe
                last edited by A Former User

                @emlowe It’s almost done. I’ll open in a few days. (I changed module name). Thanks for your suggestion.
                Anyway, style by title sounds somewhat weired at first. Every event has their own title. It could be too various.
                I’m already preparing styles by date(specified month, date, weekday or thisweek, nextmonth, the last day of month, and any others…)
                But I catched an idea from you. If event title has some predefined text pattern, that event could get predefined classname. (‘Birthday’, ‘John’, ‘school’, ‘family-*’ and so on) I’ll add this feature.
                Thanks for your interesting. Please wait a few days.

                1 Reply Last reply Reply Quote 0
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer
                  last edited by

                  Nice work, Sean!

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • emloweE Offline
                    emlowe Module Developer
                    last edited by

                    @Sean

                    If you add in the attribute to your JS, then you don’t need to prepare any styles for the event titles.

                    The user can do so on their own in their css/custom.css.

                    .MMM-calendarExtDays .eventContent[title*=“Birthday” i] { color:HotPink; }

                    My calendar events follow a pattern (L-- for my son, C-- for my daughter, etc), so I add into my own css/custom.css the attribute matching.

                    Anyway, your module I think fills a major gap, so I’m very happy with it

                    -Earle

                    ? 1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User @emlowe
                      last edited by

                      @emlowe ok. I’ll do.

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • 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