• 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.

Default Calendar - Sub-headers "Today" / "Tomorrow" / "Coming Next"

Scheduled Pinned Locked Moved Unsolved Requests
6 Posts 2 Posters 1.4k Views 2 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.
  • B Offline
    bolish
    last edited by Jan 24, 2019, 8:36 AM

    Hi all,

    I would like to have sub headers or sub categories within the default calendar module to make the split between today / tomorrow / coming next more visible / obvious (maily for my kids when looking at the Mirror and trying to understand what is the today’s Schedule)

    I first tried with 3 different instances of calendar module with different options (maxNumberOfDays) but I’m facing the issue where “maximumNumberOfDays” parameter from second instance is overwriting the parameter from the first instance and everything is screwn up as all 3 instances then have the same list of events…
    Refer to : Default Calendar Multiple instances

    I decided to create this new post to highlight to the real & initial need behind and see if someone could help by creating those sub-headers / category as maybe others could be interested.

    Regards

    1 Reply Last reply Reply Quote 0
    • L Offline
      lavolp3 Module Developer
      last edited by Jan 24, 2019, 9:21 AM

      Well if you take the “date headers” option and play with urgency, get Relative and some other config options, the mirror should show you
      TODAY
      appointments
      TOMORROW
      appointments

      and then the rest of the dates.
      WOuld that be sufficient?

      How to troubleshoot modules
      MMM-soccer v2, MMM-AVStock

      1 Reply Last reply Reply Quote 0
      • B Offline
        bolish
        last edited by bolish Jan 24, 2019, 9:54 AM Jan 24, 2019, 9:47 AM

        @lavolp3 thanks, it’s worth giving it a trial I believe. It could maybe be sufficient. Just need to figure out the options & parameters to play with to get it done.
        I will give it a trial.

        L 1 Reply Last reply Jan 24, 2019, 10:28 AM Reply Quote 0
        • L Offline
          lavolp3 Module Developer @bolish
          last edited by Jan 24, 2019, 10:28 AM

          @bolish I 'm just seeing that dateheaders does not show today for today and tomorrow for tomorrow.
          But I want to have it in there, so I’ll create a PR for the next version.
          If you like, I could give you the code amendments here to implement for your own calendar until then

          How to troubleshoot modules
          MMM-soccer v2, MMM-AVStock

          1 Reply Last reply Reply Quote 0
          • B Offline
            bolish
            last edited by bolish Jan 24, 2019, 11:14 AM Jan 24, 2019, 11:13 AM

            @lavolp3
            Thanks for that.
            Indeed, it would be perfect if I could have a preview so i can give it a try on my side.!
            You rock!

            I will then check how to play with GetRelative and Urgency as for now the difference between those 2 doesn’t seems obvious to me.

            1 Reply Last reply Reply Quote 0
            • B Offline
              bolish
              last edited by Jan 25, 2019, 8:12 AM

              @lavolp3
              Hi!
              Would you mind trying to solve this one also (both are related to the same topic) :
              MMForum Post
              Same Issue on GitHub

              within your PR?

              I still would like to have 2 different instances which doesn’t overwrite each other.

              If OK for you, I will close the other post and refer to this one.

              Regards

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