Read the statement by Michael Teeuw here.
Compliments mod using custom.css
-
Hello all
My wife has a problem with the default compliments, specifically the word Sexy, so I’ve been modifying the default compliments.js located in /MagicMirror/modules/default/compliments however each time there is an update I have to do this again,
How can I use the custom.css to overcome having to change compliments.js?
-
@mayfield You can use your own custom file. See the MM Page for info.
https://docs.magicmirror.builders/modules/compliments.html#screenshots
-
@mayfield also, never change the source code mm ships.
all configuration can be done in the config.js
{ module:'compliments', position: config:{ compliments:{ morning :{ }, afternoon:{ } ... etc } } } -
OK well thats pretty simple lol and I take it that come next update that part I have just changed will stay the same?
-
@mayfield config.js is YOURs, we don’t touch that file. that’s the whole point.
as mentioned you can put the compliments text config itself in a file as well and use the remote file config option
-
@sdetweil Appreciate the help Thanks
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