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

MMM-CalendarExt2

Scheduled Pinned Locked Moved Utilities
486 Posts 83 Posters 677.4k Views 83 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.
  • C Offline
    cskenney @Turtle
    last edited by Feb 18, 2020, 12:08 PM

    @Turtle said in MMM-CalendarExt2:

    @Sean said in MMM-CalendarExt2:

    @Turtle
    I don’t know why, but some nowadays version of MagicMirror has been missing css/custom.css. Just create empty text file and name it as custom.css then save it to your css directory.

    @Sean - I thought I could do that but wanted to make sure but before I did that though I was able to find another css file called “MMM-CalendarExt2” in another folder and made some changes to that file which seems to be working. Of course, I made a backup of it just in case but for some reason, that file is acting like custom.css.

    Custom.css is the only file that doesn’t get over written when you update MM or Calendar-Ext2. That is why it exists. If you modify main.css then a MM update will wipe out the changes. Same thing is true of CalendarExt2.css.

    1 Reply Last reply Reply Quote 0
    • ? Offline
      A Former User @Turtle
      last edited by Feb 18, 2020, 1:37 PM

      @Turtle
      To agree @cskenney
      When I update MMM-CalendarExt2.css on next version, your change will be lost. Use css/custom.css.

      1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @Guest
        last edited by Feb 18, 2020, 1:39 PM

        @Sean said in MMM-CalendarExt2:

        I don’t know why, but some nowadays version of MagicMirror has been missing css/custom.css.

        because we removed it from the git repo, to avoid over-writing it on updates… can’t have it both ways…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        ? 1 Reply Last reply Feb 18, 2020, 1:42 PM Reply Quote 0
        • ? Offline
          A Former User @sdetweil
          last edited by Feb 18, 2020, 1:42 PM

          @sdetweil
          In that case, .gitIgnore couldn’t help?

          S 1 Reply Last reply Feb 18, 2020, 1:57 PM Reply Quote 0
          • S Away
            sdetweil @Guest
            last edited by Feb 18, 2020, 1:57 PM

            @Sean they decided to remove it…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            B 1 Reply Last reply Feb 18, 2020, 6:12 PM Reply Quote 0
            • B Offline
              BKeyport Module Developer @sdetweil
              last edited by Feb 18, 2020, 6:12 PM

              @sdetweil so custom.css.sample like the config?

              The "E" in "Javascript" stands for "Easy"

              S 1 Reply Last reply Feb 18, 2020, 6:24 PM Reply Quote 0
              • S Away
                sdetweil @BKeyport
                last edited by Feb 18, 2020, 6:24 PM

                @BKeyport its an empty file… I can add it with the installer… if not present then touch to create the file…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • B Offline
                  BKeyport Module Developer
                  last edited by Feb 18, 2020, 6:27 PM

                  true, forgot it started out empty. Back to MMM-CalendarExt2 here, I guess.

                  The "E" in "Javascript" stands for "Easy"

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    Turtle
                    last edited by Feb 18, 2020, 7:24 PM

                    all I know is that I’m glad to hear I’m not going crazy for not seeing the custom.css. lol

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      Turtle
                      last edited by Feb 19, 2020, 12:16 AM

                      So, all day yesterday, I had everything working with just one calendar and the MM working find. Today, I tried adding three other calendar to the code and now I’m getting a screen that’s telling me the “Must create a config file”. I must have done some syntax wrong that I’m just not seeing. Anyone show me what I’m doing wrong? I removed my url links. Here is my whole config file code…

                      c/* Magic Mirror Config Sample
                       *
                       * By Michael Teeuw http://michaelteeuw.nl
                       * MIT Licensed.
                       *
                       * For more information how you can configurate this file
                       * See https://github.com/MichMich/MagicMirror#configuration
                       *
                       */
                      
                      var config = {
                      	address: "localhost", // Address to listen on, can be:
                      	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
                      	                      // - another specific IPv4/6 to listen on a specific interface
                      	                      // - "", "0.0.0.0", "::" to listen on any interface
                      	                      // Default, when address config is left out, is "localhost"
                      	port: 8080,
                      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
                      	                                                       // or add a specific IPv4 of 192.168.1.5 :
                      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
                      	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
                      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
                      
                      	language: "en",
                      	timeFormat: 12,
                      	units: "metrics",
                      	// serverOnly:  true/false/"local" ,
                      			     // local for armv6l processors, default 
                      			     //   starts serveronly and then starts chrome browser
                      			     // false, default for all  NON-armv6l devices
                      			     // true, force serveronly mode, because you want to.. no UI on this device
                      	
                      	modules: [
                      		{
                      			module: "alert",
                      		},
                      		{
                      			module: "updatenotification",
                      			position: "top_bar"
                      		},
                      		{
                      			module: "clock",
                      			position: "top_right"
                      		},
                      		{
                        			module: 'MMM-CalendarExt2',
                        			config: {
                          				calendars : [
                            					{
                      					name: "Turtle's Calendar"        					
                      					url: "",
                            					},
                      					{
                      					name: "Work Calendar"
                      					url: "",
                      					},
                      					{
                      					name: "Bill Calendar"
                      					url: "",
                      					},
                      					{
                      					name: "Payday Calendar"
                      					url: "",
                      					},
                          					],
                          				views: [
                            					{
                              					mode: "weekly",
                            					},
                          					],
                          				scenes: [
                            					{
                              					name: "DEFAULT",
                            					},
                          				],
                        			},
                      		},
                      		
                      	]
                      
                      };
                      
                      /*************** DO NOT EDIT THE LINE BELOW ***************/
                      if (typeof module !== "undefined") {module.exports = config;}
                      
                      S 1 Reply Last reply Feb 19, 2020, 12:24 AM Reply Quote 0
                      • 1
                      • 2
                      • 27
                      • 28
                      • 29
                      • 30
                      • 31
                      • 48
                      • 49
                      • 29 / 49
                      29 / 49
                      • First post
                        282/486
                        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