Read the statement by Michael Teeuw here.
Changing compliments?
-
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
config
section 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.
-
@mykle1 Would you happen to know about special characters?
In the Spanish language, we “open” exclamation and interrogation marks (¡Text! ¿Text?), I’ve typed those characters directly, and they end up as a weird symbol once I run MM, then I tried specifying the encoding table (ISO-8859-1 and/or UTF-8) and it seems I missplaced the code, as MM told me there was no config.js file, then I tried using common HTML code using & # 1 6 1 ; (without spaces) for the “inverted” exclamation mark, and didn’t work either (I got the full “& # 1 6 1 ;” string displaced preceding the compliment’s normal text. -
Sorry, but I don’t know what special characters are available within MM. Perhaps someone else will chime in on that.
However, if you have a font that has those special characters, you might then assign that font to the compliments module through your custom.css file.
-
@orbezo I think that might be caused by missing characters in Roboto fonts. As I know, Roboto font set with MM is not complete. There are some missed characters. You should install supplements by yourself.
-