It’s probably that the card-modder hasn’t loaded in yet when layout-card tries to add the cards in.
I think I can solve this, but need some time.
Meanwhile, it might work to make sure your list of resources is ordered such that card-modder is as early and layout-card as late as possible.
I suppose you sometimes get different results when you refresh the page?
Thank you for your answer, if it is to refresh the page, it will not come out, the result is the same, but switch groups and switch back, the result is good, my English is not very good, please forgive me。
Sorry is this has been asked, I searched the thread but didnt see it…
Is it possible to use toggle action with the slider? I was using a glance card before the sliders and I would just tap the light to come on or shut off. If I hit the bulb on the left of the slider it brings up the more info box. I tried adding the ‘tap_action: toggle’ but it didnt work.
Thanks for the reply. I must be blind, I went through the github before posting and again just now. The only mention of toggle I could find is the header toggle, is that what you are referring too? I was hoping to be able to touch the bulb to the left of the slider.
Here’s something for you other plugin developers out there!
It’s kind of my secret cookbook, a bunch of convenient functions packed together and reusable.
I plan to make most of my plugins depend on this over the next few days or so.
Unfortunately, I can no longer edit the first posts of this thread to add plugins to the list, or update descriptions of changed ones.
Does anyone have any thoughts on the best course of action?
I’m thinking perhaps I should start over with a new thread and ask a moderator to add a link in the (now locked) top post to the new one… Either that, or trying to split the thread again, making one thread for each plugin.
Or perhaps move to an entirely different medium.
I’ve got a problem using card-modder. I have some cards that have background as part of the card, so I’m not using card-modder to add a background. The problem I have is that when using border-radius for a rounder corner card, the background overlays the border and is not trimmed off, so the card still looks like it has square edges.
After checking the code, it seems the author of mini-media-player chose to add the background as an image floating on top of the card rather than as an actual card background. Not much that card-modder can do about this, unfortunately…
Thanks mate. Not sure about modifying mini-media-player, I think I’ll contact the developer, but for my own card I made, I edited my CSS file and moved the background image to ha-card {background: url(bkg.jpg);} and has fixed it up.
While working on making my cards leverage the many benefits of card-tools, I realized I could add the templating from useful-markdown-card to card-modder…