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

Another way of identifying which event is associated with which Calendar

Scheduled Pinned Locked Moved Custom CSS
4 Posts 2 Posters 733 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.
  • R Offline
    ruff.hi
    last edited by Jan 18, 2022, 9:12 PM

    I know that I can use icons (https://fontawesome.com/v4.7/icons/) but, to be honest, I don’t want to have to remember that my calendar is associated with a ‘bar-chart’ and my wife’s is associated with a ‘battery-full’.

    I would prefer to put in M for me and W for wife. Can I do that … or do I have to wait for Mr Icon Creator to create letter based icons?

    T 1 Reply Last reply Mar 6, 2022, 10:58 AM Reply Quote 0
    • T Offline
      Thorn2910 @ruff.hi
      last edited by Mar 6, 2022, 10:58 AM

      @ruff-hi
      Why don’t you work with different colors

      {
      			module: "calendar",
      			header: "Events",
      			position: "top_left",
      			maximumEntries: "3",
      			config: {
      				colored: true,
      				tableClass: "small",
      				calendars: [
      					{
      						symbol: "fas fa-trash",
      						color: "rgb(185, 62, 38)",
      						maximumEntries: "2",
      						url: "https://calendar.google.com/calendar/ical/xxxxx/public/basic.ics"
      					},
      					{
                                                      symbol: "far fa-calendar-alt",
                                                      color: "rgb(250, 253, 140)",
                                                      maximumEntries: "2",
                                                      url: "webcal://p102-caldav.icloud.com/published/2/xxxx"
                                              },
      					{
                                                      symbol: "fas fa-house-user",
                                                      maximumEntries: "2",
                                                      color: "rgb(121, 0, 86)",
                                                      url: "https://calendar.google.com/calendar/ical/xxx/basic.ics"
                                              }
      			                    ]
      				}
      		},
      

      This way you know excatly which calendar you are looking at.

      Alternatively you cloud add two different instances of the calendar module

      {
      			module: "calendar",
      			header: "Wife",
      			position: "top_left",
      			maximumEntries: "3",
      			config: {
      				colored: true,
      				tableClass: "small",
      				calendars: [
      					{
      						symbol: "fas fa-trash",
      						color: "rgb(185, 62, 38)",
      						maximumEntries: "2",
      						url: "https://calendar.google.com/calendar/ical/xxxx/basic.ics"
      					}
      
      		},
      
      {
      			module: "calendar",
      			header: "You",
      			position: "top_left",
      			maximumEntries: "3",
      			config: {
      				colored: true,
      				tableClass: "small",
      				calendars: [
      					{
      					                                                symbol: "fas fa-house-user",
      					                                                maximumEntries: "2",
      					                                                color: "rgb(121, 0, 86)",
      					                                                url: "https://calendar.google.com/calendar/ical/xxx/basic.ics"
      					                                        }
      
      		},
      
      R 1 Reply Last reply Mar 12, 2022, 12:19 AM Reply Quote 0
      • R Offline
        ruff.hi @Thorn2910
        last edited by Mar 12, 2022, 12:19 AM

        @thorn2910 - excellent suggestion … but …

        I added various colors to my calendar option a week or two ago. I also like the ability to add some text because then I don’t have to remember what icon mean which calendar … or which color meant which calendar. I can see the different entries … then check the text to know the calendar.

        T 1 Reply Last reply Mar 13, 2022, 7:08 AM Reply Quote 0
        • T Offline
          Thorn2910 @ruff.hi
          last edited by Mar 13, 2022, 7:08 AM

          @ruff-hi

          That is exactly the alternative which I showed

          {
          			module: "calendar",
          			header: "House",
          			position: "top_left",
          			maximumEntries: "3",
          			config: {
          				colored: true,
          				tableClass: "small",
          				calendars: [
          					{
                                                          symbol: "fas fa-house-user",
                                                          maximumEntries: "2",
                                                          color: "rgb(121, 0, 86)",
                                                          url: "https://calendar.google.com/calendar/ical/xxx/basic.ics"
                                                  }
          			                    ]
          				}
          		},
          		{
                                  module: "calendar",
                                  header: "Trash",
                                  position: "top_left",
                                  maximumEntries: "3",
                                  config: {
                                          colored: true,
                                          tableClass: "small",
                                          calendars: [
                                                  {
                                                          symbol: "fas fa-trash",
                                                          color: "rgb(185, 62, 38)",
                                                          maximumEntries: "2",
                                                          url: "https://calendar.google.com/calendar/ical/xxxxx/basic.ics"                                        
                                                  }        
                                                      ]
                                          }
                          },
          

          Which will look like this

          5ddd9a13-36aa-47ad-a265-e6e9b94e367a-grafik.png

          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