Read the statement by Michael Teeuw here.
MMM-CalendarExt2
-
Hello @Sean,
I just came upon your MMM-CalendarExt2 in the last few days. I think it will do what I need it to do for me. Awesome job! But before I dive in, I like to get myself familiar with it. After reading all the posts in this thread, you keep mentioning about adding “style codes” into the css/custom.css file. By any chance, this been renamed to “main.css”? This is the only css file I have in the “MagicMirror/css/” folder.
-
@Turtle In the CSS folder you should also have a custom.css file (in addition to the main.css file) that was created when you installed MagicMirror.
-
@cskenney said in MMM-CalendarExt2:
@Turtle In the CSS folder you should also have a custom.css file (in addition to the main.css file) that was created when you installed MagicMirror.
@cskenney - I do not have a custom.css file. Only have the main.css file. Why I’m so confused right now.
-
@Turtle
I don’t know why, but some nowadays version of MagicMirror has been missingcss/custom.css. Just create empty text file and name it ascustom.cssthen save it to yourcssdirectory. -
@Sean said in MMM-CalendarExt2:
@Turtle
I don’t know why, but some nowadays version of MagicMirror has been missingcss/custom.css. Just create empty text file and name it ascustom.cssthen save it to yourcssdirectory.@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.
-
@Turtle said in MMM-CalendarExt2:
@Sean said in MMM-CalendarExt2:
@Turtle
I don’t know why, but some nowadays version of MagicMirror has been missingcss/custom.css. Just create empty text file and name it ascustom.cssthen save it to yourcssdirectory.@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.
-
-
@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…
-
@sdetweil
In that case,.gitIgnorecouldn’t help? -
@Sean they decided to remove it…
-
@sdetweil so custom.css.sample like the config?
-
@BKeyport its an empty file… I can add it with the installer… if not present then touch to create the file…
-
true, forgot it started out empty. Back to MMM-CalendarExt2 here, I guess.
-
all I know is that I’m glad to hear I’m not going crazy for not seeing the custom.css. lol
-
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;} -
@Turtle after each name: line needs to end with a comma ,
-
@sdetweil said in MMM-CalendarExt2:
@Turtle after each name: line needs to end with a comma ,
@sdetweil - after putting the post up there, I saw that and added them. Also, added quotes around module name “MMM-CalendarExt2”.
But I’m still getting the same message.
-
@sdetweil - wait a minute…do you mean after the name as in “Turtle’s Calendar”? I have them after each of the URL.
-
@sdetweil - thank you again…I got it up and working. Just got to do some tweaking!
-
@Turtle yes.
One thing to think about, as u encounter errors, is … What did I do last?
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