Read the statement by Michael Teeuw here.
Changing compliments?
-
@bhepler Thanks for the assistance. When I get a chance I will definitely give it a try.
-
@bhepler I have hade a lot of trouble getting compliments to work correctly on my mirror. I then simply copy and pasted your code into my config.js file and I am still having the same issue. When I run Magic Mirror (even when using your exact code) the module only shows “compliments” in a larger font then “module_2_compliments” underneath. I am not sure what I am doing wrong, is this an easy fix?
-
@VirtualLeonard You probably modified the compliments module. Which is something you shouldn’t do. I suggest you backup you config and reinstall the mirror.
All customisations should be done using the config.js, you should never need to modify a default module.
-
@VirtualLeonard Hmm. Give @MichMich 's suggestion a try. Don’t forget that after you reinstall the mirror software you drop your
config.jsfile back into its proper place.If that still doesn’t work, either post your
config.jsfile here and let us take a look at it or upload it somewhere such as dropbox so we can try to drop it into our mirrors. -
What exactly should the config.js file look like when I try to change the compliments?
-
@AAPS See my post in this thread from November 4th. If you compare the code I included to the default entry for the compliments module, it should get you started. The default code is only this:
{ module: 'compliments', position: 'bottom_center' },Basically, everything I included in the
configsection on Nov 4th is new code that will modify how the module behaves. -
hello,
this helped me a lot. I only have one problem left and that’s when I tried to put more than 3 compliments for each part of a day, the mirror didn’t want to show any of compliments. Is there a ways to change the amount of compliments for each part or is it limited to only 3?
Thank you
-
I think it’s likely that there is an error in the way you added the compliments (formatting?). Post your config for compliments in a code block
-
Hello
is there an option to define compliments in languages other than English ?
thanks. -
You can simply add your own compliments in any language you want and they will appear as you enter them.
