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.

    Emoji

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 1.7k Views 3 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
      bjoern
      last edited by

      Hello everybody,
      we use emojis in the Google-Calendar. In the standard module of the calendar the emojis are displayed. unfortunately not colored. is there a way to adjust that? if so, how can i do that.

      thx

      justjim1220J 1 Reply Last reply Reply Quote 0
      • justjim1220J Offline
        justjim1220 Module Developer @bjoern
        last edited by justjim1220

        @bjoern

        you can change to show colors in your config.js…

        here are the list of defaults as shown in the calendar.js…

        0_1530304828170_Screenshot (16).png

        The big white arrow points out the line you need to add to your config.js to show color.

        EXAMPLE…

        {
        module: "calendar",
        position: "top_left",	// This can be any of the regions. Best results in left or right regions.
        config: {
        	colored: true,
        	calendars: [
        		{
        			url: 'http://www.calendarlabs.com/templates/ical/US-Holidays.ics',
        			symbol: 'calendar',
        			auth: {
        			    user: 'username',
        			    pass: 'superstrongpassword',
        			    method: 'basic'
        			}
        		},
        	],
        }
        },
        

        Hopefully this works out for you! :smiling_face_with_sunglasses:

        "Life's Too Short To Dance With Ugly People"
        Jim Hallock - 1995

        1 Reply Last reply Reply Quote 0
        • B Offline
          bjoern
          last edited by

          It doesn’t work. It show me only B/W Emoji.

           {
                                  module: "calendar",
                                  header: "Kalender",
                                  position: "top_right",
                                  config: {
          
          
                                                          maximumEntries: 13,
                                                          maxTitleLength: 40,
                                                          fade: false,
                                                          timeformat: "absolute",
                                                          displayRepeatingCountTitle: true,
                                                          getRelative: 0,
                                                          dateFormat: "ddd[,] h:mm A",
                                                          fullDayEventDateFormat: "ddd",
                                                          displaySymbol: false,
                                                          colored: true,
                                                          urgency: 0,
                                                  calendars: [
                                                  {
                                                          symbol: "calendar-check-o ",
                                                          url: "https://calendar.google.com/calendar/ical/xxxxxxxx.cal%40googlemail.com/public/basic.ics"
                                                  },
                                                  {
                                                          url: "https://calendar.google.com/calendar/xxxxxxxxxxxxxxxxxxxxs%40group.calendar.google.com/public/basic.ics"
                                                  }
          
                                          ],
                                  }
                          },
          
          
          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