Read the statement by Michael Teeuw here.
MMM-CalendarExt2
-
@JHermann
Have you done something oncss/custom.css
ormain.css
or any other css file? -
@Sean Only the Custom.css per below to reduce margins. No other changes to any ,css file as far as i recolect.
body {
margin: 20px;
position: absolute;
height: calc(100% - 40px);
width: calc(100% - 40px);
}Maybe i should uninstall and start over?
-
@JHermann
Well , this kind of problem is not related to installation. Reinstall might solve the issue, but we don’t know why and how. And there is still possibility of not-solving.The most common pitfall might be mistyping.
position: "top- right",
This is not a proper symbol of
top_right
region. -
@Sean Good point, that was a definite typo.
-
Multiple Icon in upcoming View
Please confirm how I can add more then one Icon in the upcoming view, I used the Transform event in "Views"but I can only get one icon to show…
-
@Hram2008
Not possible. Why do you need? By the case, I could consider that feature, but normally, why is it needed?
You can transform the title to useemoji
instead icon. -
@Sean
Sorry, I am not not able attach an image. What i am trying to do is is the Transform event with specific text to add an emoji to the upcoming view… i.e Calendar event with “Birthday” in name would add a Birthday cake emoji to the event… I want to do this for other text… " Christmas" = x-mas Tree emoji…where other text would display other emoji… -
@Hram2008
First, I’m not sureemoji
could be displayable on Electron(Chromium) of Raspbian without any additional things(font?). I have no RPI at this moment, so can’t test.
But I believe it could, And at least, on my other SBCs, it works.Frankly says, How to transform exists already in the wiki of github repository, Anyway, I’ll show it again with another sample.
Before
Add
transform
into your target View. (Or you can apply it globally bydefaultSet
transform: (event) => { event.title = event.title.replace(/FC/g, "⚽") event.title = event.title.replace(" - ", " VS. ") event.title = event.title.replace("(T.B.A.)", "") event.title = event.title.replace("Bayern München", `< img src='https://logodix.com/logo/337534.jpg' height='20px' width='100px' >`) return event }
Then It will show like this;
After
-
@Sean
Thank you for taking the time to respond, not quite what i was looking to do but it did point me in the right direction. -
Are they known issues on raspberry pi 2? I’m working on configs without success. Black screen, nothing, but other modules, appears.
Thanks