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

Default calendar and fading

Scheduled Pinned Locked Moved Unsolved Troubleshooting
5 Posts 2 Posters 2.6k 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.
  • S Offline
    sonicgoose
    last edited by Apr 1, 2019, 10:38 PM

    Hi,

    Had previously been running MM v2.6.x and had a problem with the default calendar module always fading, even when my config said fade: false. I eventually just edited the calendar.js file and hardcoded in the false, which worked right up until I upgraded to MM v2.7.0. Now it’s broken again because the calendar module has been updated. I’ve now learned not to edit the calendar.js file because git will yell at me about it eventually, so how do I stop the calendar from fading? Here’s what’s in my config.js, for the record:

                         {
                            disabled: false,
                            module: "calendar",
                            header: "Upcoming",
                            position: "top_left",
                            maximumNumberOfDays: 365,
                            displayRepeatingCountTitle: false,
                            defaultRepeatingCountTitle: "",
                            maxTitleLength: 24,
                            wrapEvents: true,
                            fetchInterval: 5 * 60 * 1000,
                            animationSpeed: 2000,
                            fade: false,
                            urgency: 7,
                            timeFormat: "absolute",
                            dateFormat: "MMM D",
                            dateEndFormat: "HH:mm",
                            fullDayEventDateFormat: "MMM d",
                            showEnd: false,
                            getRelative: 48,
                            fadePoint: 0.25,
                            //maximumEntries: 8, //does this still work?
                            hideOngoing: true,
                            config: {
                                    colored: true,
                                    coloredSymbolOnly: true,
                                    calendars: [
                                            {
                                                    symbol: "calendar",
                                                    color: "#a3ea80",
                                                    url: "https://somecalendarsite.com/b852c7e3115dcac07828de/calendar.ics"
                                            },
                                            {
                                                    symbol: "plane",
                                                    color: "#f8ff70",
                                                    url: "webcal://someothercalendarsite.com/5hsjrwtcddiw1fkue9vjks5dsf9vexn6.ics"
                                            }
                                    ]
                            }
                    },
    1 Reply Last reply Reply Quote 0
    • S Offline
      sonicgoose
      last edited by Apr 1, 2019, 11:32 PM

      0_1554161518484_Screen Shot 2019-04-01 at 7.31.01 PM.png
      Here you can see that the display and the css don’t match.

      1 Reply Last reply Reply Quote 0
      • V Offline
        vinp Module Developer
        last edited by Apr 2, 2019, 2:07 AM

        It’s your config. The things you have outside should actually be inside the config:{} section. So starting from maximumNumberOfDays all of those items should go similar to where you have colored and coloredSymbolOnly etc

        S 1 Reply Last reply Apr 2, 2019, 5:38 PM Reply Quote 3
        • S Offline
          sonicgoose @vinp
          last edited by Apr 2, 2019, 5:38 PM

          @vinp Ugh. You know how sometimes you can’t see the forest for the trees? This is one of those times. Thanks for pointing out the obvious—I completely missed that.

          V 1 Reply Last reply Apr 2, 2019, 5:39 PM Reply Quote 0
          • V Offline
            vinp Module Developer @sonicgoose
            last edited by Apr 2, 2019, 5:39 PM

            @sonicgoose hah, yes. It happened to me about 2 weeks back, and I was staring at similar lines of config over and over :)

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