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 1.2k 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

      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?

      Thorn2910T 1 Reply Last reply Reply Quote 0
      • Thorn2910T Offline
        Thorn2910 @ruff.hi
        last edited by

        @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 Reply Quote 0
        • R Offline
          ruff.hi @Thorn2910
          last edited by

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

          Thorn2910T 1 Reply Last reply Reply Quote 0
          • Thorn2910T Offline
            Thorn2910 @ruff.hi
            last edited by

            @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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 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