• 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-CalendarExt - name for different calendars

Scheduled Pinned Locked Moved Troubleshooting
10 Posts 2 Posters 3.9k 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.
  • K Offline
    knutta
    last edited by knutta Nov 1, 2017, 12:56 PM Nov 1, 2017, 12:40 PM

    I have twenty-something ical-files linked into the MMM-CalendarExt in a daily view. I have not been able to configure the looks entirely to my liking yet, but first things first. What I need is to name the different entries or somehow create a logically system of recognizing what is what.

    So - is there any way that calendar entries can be appended a suffix with a calendar-name? So that the 10.30 event showing a meeting could be shown as “cal1: Meeting with John 10.30-11.30” instead of “Meeting with John 10.30-11.30”.

    Thanks!

    ? 1 Reply Last reply Nov 1, 2017, 1:32 PM Reply Quote 0
    • ? Offline
      A Former User @knutta
      last edited by A Former User Nov 1, 2017, 1:37 PM Nov 1, 2017, 1:32 PM

      @knutta
      There are two ways for that.

      1. Use replaceTitle:
              calendars :[
                {
                  name: "trash",
                  symbol: "recycle@md",
                  replaceTitle: [["/^(.)/", "TRASH:$1"]],
                  styleName: "style19",
                  url: "webcal://www.kriftel.de/fileadmin/user_upload/pdf/abfallentsorgung/Abfallkalender_2017_2.ics",
                },
      

      It will add “TRASH:” to each event title of that calendar. you can adjust this. (Watch out the expression)
      This trick could be useful when you want to prepend some text per calendar.

      1. Use CSS
        add this in your css/custom.css
      .CALEXT .style19 .eventContent::before {
        content:"STYLE19:"
      }
      

      This will add “STYLE19:” to each event title which has class style “style19”. This trick would be useful when you want to add text per each style.

      PS. Why don’t you use symbol or color or style for distinguishing events?

      1 Reply Last reply Reply Quote 0
      • K Offline
        knutta
        last edited by Nov 1, 2017, 1:49 PM

        The #1 solution is the one I have been looking for! Thanks!

        Ps. - the reason is that I am adding 25 different calendars, and the idea is to make some kind of scheduling possibility for desks. We have people working at different locations, and when they arrive they need to easily see that “John” is busy working at a different location, so that they can use their desk.

        If this was a perfect world, I would be able to integrate some kind of timeline-view, kind of like the outlook planning assistant so this would be even easier to read…

        ? 1 Reply Last reply Nov 1, 2017, 2:16 PM Reply Quote 0
        • ? Offline
          A Former User @knutta
          last edited by A Former User Nov 1, 2017, 2:17 PM Nov 1, 2017, 2:16 PM

          @knutta
          So… Do you need some time-table style schdules view? I’m considering to add that kind view for school-lessons, work-shifts or offline-seminar schedules… something similar with this;
          image

          1 Reply Last reply Reply Quote 0
          • K Offline
            knutta
            last edited by Nov 1, 2017, 3:05 PM

            Yes! That would be awesome!! That is exactly what I’ve been looking for!

            Just to make a comment on the layout you’ve chosen - if you make it horizontal it could potentially take up less screen real estate while providing the same easily readable information. An appointment now need to be wide enough for the words it contains. Making the boxes with a height of two lines and with based on time would give you more information on less space.

            ? 1 Reply Last reply Nov 1, 2017, 3:21 PM Reply Quote 0
            • ? Offline
              A Former User @knutta
              last edited by Nov 1, 2017, 3:21 PM

              @knutta
              Yes. I’ll consider your suggestion.
              I cannot promise to release that function soon. :) I have not enough time to dive into. But I’m trying to do. Wait a some long time. :D

              1 Reply Last reply Reply Quote 0
              • K Offline
                knutta
                last edited by Nov 2, 2017, 11:09 AM

                Sweet!

                just to ask - how long do you think is a some long time? Are we talking three, six, twelve, eighteen months?

                ? 1 Reply Last reply Nov 2, 2017, 12:11 PM Reply Quote 0
                • ? Offline
                  A Former User @knutta
                  last edited by Nov 2, 2017, 12:11 PM

                  @knutta
                  This is not my job. I’m just hobbyist. Frankly said, currently I’m just considering. Because I have no idea about good UX for that view. Anyway I hope to release it in this year. But the result might not be the same with your expectations. :)

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    knutta
                    last edited by Nov 2, 2017, 12:25 PM

                    what if I made a suggestion about looks? I could do a mock-up image for you as a layout for it?

                    ? 1 Reply Last reply Nov 2, 2017, 12:39 PM Reply Quote 0
                    • ? Offline
                      A Former User @knutta
                      last edited by Nov 2, 2017, 12:39 PM

                      @knutta
                      Ok. give me some idea. my email address is listed in my profile.

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