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

Calendar Heading Changes

Scheduled Pinned Locked Moved Troubleshooting
22 Posts 5 Posters 12.8k Views 4 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.
  • O Offline
    ooom416354
    last edited by Feb 7, 2017, 10:26 PM

    A buddy of mine had a request and we are wondering if there’s a way to do this

    Currently, the calendar module has an entry in the config which displays a text heading (default “Calendar”) above the actual events and dates.

    His mirror is set up to pull 5 different calendars but has color coding to indicate whos calendar is whos, an example being his wife is pink, his is blue etc.
    He wanted to add somewhat of a “legend” under the heading of the calendar with each persons name and color of their calendar entries, that way you would know which color you are and which events belong to you.

    Is that possible to do? I would assume it would require an entry in the config.js file but I don’t know if that would do anything as the calendar.js file doesn’t have anything to indicate colors of the value. I don’t think anything in the custom.css file would help either.

    Any ideas?

    S 1 Reply Last reply Feb 7, 2017, 10:46 PM Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer @ooom416354
      last edited by Feb 7, 2017, 10:46 PM

      @ooom416354

      {
        module: "calendar",
        position: "top_right",
        header: "Johns Stuff",
        config: {
          ...
        }
      },
      {
        module: "calendar",
        position: "top_right",
        header: "Janes Stuff",
        config: {
          ...
        }
      },
      

      Please create a github issue if you need help, so I can keep track

      O 1 Reply Last reply Feb 7, 2017, 11:35 PM Reply Quote 0
      • O Offline
        ooom416354 @strawberry 3.141
        last edited by ooom416354 Feb 7, 2017, 11:37 PM Feb 7, 2017, 11:35 PM

        @strawberry-3.141 this is what I initially proposed as well but wouldn’t that just list each calendar separately?

        He wanted to combine all calendars into one list of dates but have a custom heading instead of just the default “Calendar”

        Like in your example he wants to see
        Janes_Stuff in pink
        Johns_Stuff in blue,
        Then both Jane and John’s calendar entries combined as one calendar below

        1 Reply Last reply Reply Quote 0
        • O Offline
          onetwankyfive
          last edited by onetwankyfive Feb 8, 2017, 6:38 AM Feb 8, 2017, 6:37 AM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • O Offline
            onetwankyfive
            last edited by Feb 8, 2017, 6:40 AM

            couldn’t you use different font awesome symbols when you put the calendar in the config

            O 1 Reply Last reply Feb 8, 2017, 4:49 PM Reply Quote 0
            • O Offline
              ooom416354 @onetwankyfive
              last edited by Feb 8, 2017, 4:49 PM

              @onetwankyfive I could but the idea is having some sort of legend as well. So you have the color coded symbols next to the events in the list but there is no way to tell who’s color is who’s (and with a bunch of really little kids, color is important)

              B 1 Reply Last reply Feb 8, 2017, 4:52 PM Reply Quote 0
              • B Offline
                broberg Project Sponsor @ooom416354
                last edited by Feb 8, 2017, 4:52 PM

                @ooom416354 if all names will be listed over ONE combined calendar you could just add it as static text.

                O 1 Reply Last reply Feb 8, 2017, 4:55 PM Reply Quote 0
                • O Offline
                  ooom416354 @broberg
                  last edited by Feb 8, 2017, 4:55 PM

                  @broberg said in Calendar Heading Changes:

                  @ooom416354 if all names will be listed over ONE combined calendar you could just add it as static text.

                  Yep exactly, that would be the idea. Where would that static text be added, would it be in the config.js or would I have to create something for the custom.css?

                  S 1 Reply Last reply Feb 8, 2017, 4:59 PM Reply Quote 0
                  • S Offline
                    strawberry 3.141 Project Sponsor Module Developer @ooom416354
                    last edited by Feb 8, 2017, 4:59 PM

                    @ooom416354 you could use the helloworld module for it

                    Please create a github issue if you need help, so I can keep track

                    O 1 Reply Last reply Feb 8, 2017, 5:00 PM Reply Quote 0
                    • O Offline
                      ooom416354 @strawberry 3.141
                      last edited by Feb 8, 2017, 5:00 PM

                      @strawberry-3.141 so add the hello world module under the clock in the config.js and code it up to add the color coded “legend”, right?

                      S 1 Reply Last reply Feb 8, 2017, 5:05 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        1/22
                        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