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

Scheduled Pinned Locked Moved Utilities
10 Posts 5 Posters 7.5k 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 Jul 6, 2017, 5:12 PM

    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 Jul 11, 2017, 8:51 AM

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

      PS: Gute Idee! :)

      ? 1 Reply Last reply Jul 11, 2017, 4:48 PM Reply Quote 0
      • ? Offline
        A Former User @Lausbuab1
        last edited by Jul 11, 2017, 4:48 PM

        @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
        • E Offline
          emlowe Module Developer
          last edited by Aug 1, 2017, 12:44 AM

          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 Aug 1, 2017, 1:06 AM Reply Quote 0
          • C Offline
            cowboysdude Module Developer
            last edited by Aug 1, 2017, 12:55 AM

            WOW looks fantastic, great job!

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @emlowe
              last edited by A Former User Aug 1, 2017, 1:08 AM Aug 1, 2017, 1:06 AM

              @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
              • M Offline
                Mykle1 Project Sponsor Module Developer
                last edited by Aug 1, 2017, 1:31 AM

                Nice work, Sean!

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • E Offline
                  emlowe Module Developer
                  last edited by Aug 1, 2017, 3:02 AM

                  @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 Aug 1, 2017, 6:07 AM Reply Quote 0
                  • ? Offline
                    A Former User @emlowe
                    last edited by Aug 1, 2017, 6:07 AM

                    @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