Read the statement by Michael Teeuw here.
Replacing snow flakes with hearts in the MMM-SNOW module
-
Wow that looks awesome. Thanks for taking time to put this together😎
-
Fantastic! Nice work :) so i got an idea for march 17 … yeah ST. PATRICS DAY! :beer: falling clover, beer and goblins :D
http://www.flaticon.com/search?word=saint patrick&order_by=1&color=2 -
@Hein-Jan reducing
valenitnesCount
may help with “sluggishness”. -
@schlachtkreuzer6 Feel free to fork my repo. It’s pretty easy to modify it to display other images. I resized my images to 50x50px because they were fairly hi res after downloading them from flaticon site.
-
@morozgrafix I´ll try it :) but I´m not a coder^^ thanks for that advice
-
@schlachtkreuzer6 Neither am I and I did in about 30 seconds… LOL You can do it!
-
Yeah I did it :P
[card:schlachtkreuzer6/MMM-Saint-Patrick] -
@schlachtkreuzer6 nice job. I told you it wasn’t that hard. :clap: :thumbsup:
-
Yep, alreay did that.
This is my config included is the scheduling part.
{ module: 'MMM-Valentine', position: 'fullscreen_above', classes: 'scheduler', config: { // display the module only on the 14th of february module_schedule: {from: '0 7 14 02 *', to: '30 23 14 02 *' }, valentinesCount: 25, valentinesSize: 2.00, } },
I have been struggling with the 2 asterixes behind the “minutes and hours” values but before the “day of the week” value. Cron revealed that they probably are “Day of the month” and “month of the year”.
I am a Noob, and all of the scheduling examples had wildcards there. I feel fairly confident this is going to work. -
@Hein-Jan I’m not very familiar with MMM-ModuleScheduler but I have some experience with cron jobs
It typically goes like this
[minute] [hour] [day of the month] [month] [day of the week]
in your
module_schedule: {from: '0 7 14 02 *', to: '30 23 14 02 *' }
I would replace month number from02
to2
(allowed values for that field are 1 through 12). So it would read likemodule_schedule: {from: '0 7 14 2 *', to: '30 23 14 2 *' }
Your from value would translate to something like
at 07:00am on 14th day of the month in February (it can be any day of the week)
in human languageand your to value would read as
at 11:30pm (or 23:30) on 14th day of the month in February (it can be any day of the week)
.Hope this helps.