• 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 Symbols Question

Scheduled Pinned Locked Moved Unsolved Troubleshooting
8 Posts 3 Posters 6.8k 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.
  • H Offline
    Hawking
    last edited by Hawking Oct 22, 2017, 5:20 PM Oct 22, 2017, 5:19 PM

    Regarding the limit to 4 entries, I think you shouldn’t use “” around the number, so try just

    maximumEntries: 4,
    

    (and also adjust the global setting from “10” to 10. As 10 is the default, it does not have an effect anyway)

    Maybe this also fixes the wrong symbol? If not, what happens if you e.g. switch the order of calender 1 and 2 (just as a test).

    1 Reply Last reply Reply Quote 0
    • L Offline
      Lexingtonian
      last edited by Lexingtonian Oct 22, 2017, 10:27 PM Oct 22, 2017, 8:46 PM

      Config currently looks like the following. Still have the icon issue. Will try moving things around.

                  {
                          module: "calendar",
                          position: "top_left",
                          maximumEntries: 8,
                          config: {
                                  calendars: [
                                          {
                                                  symbol: "calendar",
                                                  url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
                                          },
                                          {
                                                  symbol: "bell",
                                                  url: "https://calendar.google.com/calendar/ical/blahbkah",
                                                  maximumEntries: 4
                                          },
                                          {
                                                  symbol: "home",
                                                  url: "https://calendar.google.com/calendar/ical/blah"
                                          }
      
                                  ],
                          }
                  },
      
      1 Reply Last reply Reply Quote 0
      • H Offline
        Hawking
        last edited by Hawking Oct 22, 2017, 9:05 PM Oct 22, 2017, 9:04 PM

        I don’t have access to my MM at the moment, therefore I couldn’t test your configuration.
        However two comments

        1. There should be a comma after
        url: "https://calendar.google.com/calendar/ical/blahbkah"
        

        (like it was in your old code sample).

        1. The quotation marks at the end of the url look different in calender 2 and 3 compared to 1. I don’t know if this is a problem in your sample code or if you should adjutst the actual configuration file.
        1 Reply Last reply Reply Quote 0
        • L Offline
          Lexingtonian
          last edited by Oct 22, 2017, 10:29 PM

          Hey sharp eye! I copy and pasted using my iPad and trimmed the long iCal urls. Everything is correct though in my config.js.

          Thanks!

          1 Reply Last reply Reply Quote 0
          • H Offline
            Hawking
            last edited by Oct 25, 2017, 2:59 AM

            And does it work?
            I made a test using

            {
                            module: "calendar",
                            position: "top_left",
                            maximumEntries: 8,
                            config: {
                               calendars: [
                                           {
                                             symbol: "calendar",
                                             url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
                                           },
                                           {
                                             symbol: "bell",
                                             url: "https://www.calendarlabs.com/ical-calendar/ics/75/UK_Holidays.ics",
                                             maximumEntries: 4
                                           },
                                           {
                                             symbol: "home",
                                             url: "https://www.calendarlabs.com/ical-calendar/ics/52/Islam_Holidays.ics"
                                           }
                                        ],
                                   }
                   },
            

            and the symbols look OK:
            0_1508900216758_MM.png

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