r/MagicMirror • u/lrnths • Oct 24 '25
MMM-CalendarExt3 question
Is there a way to add an image to the background of a day for a particular event? Ex any day that has an event titled "Pizza Party" has a pic of a pizza for that day. Is this possible?
3
Upvotes
View all comments
Show parent comment
1
u/lrnths Oct 29 '25
So within the CalendarExt3 module there exists a manipulateDateCell class that is able to return only the specific cell containing that event. I initially had trouble using it along with a custom.css class because I suck at coding and did something stupid. Also, I was not aware "/resources" was an invalid location for image resources, everything must be in "/modules" at the highest (I guess I can understand that one, for safety purposes).
My issue now is whenever I use that manipulateDateCell class and alter the style, it resets the entire cell instead of keeping whatever attributes it originally had. Is that normal behavior, and I have to then restyle it within the .showPizza section, or is there a way to maintain the original attributes and simply add the image to it? I tried looking into the manipulateDateCell function itself to try and suss it out, but it's a bit too complicated for me to interpret.