There must be a mistake on your side, a letter missing, a conflict with another code, something. It can come from a little detail that you missed, unfortunately.
, yes, as always, it works with all blocks. Just be careful with your conditional filters+ if you have different visibility settings = one tab feature (one tab custom code) by user group.
Having trouble with getting it to make columnsâŚin the header code, it says âtableâ - does this part need to be changed to the blocks I am applying it to?
PSA: Iâve been using this tutorial as the foundation of TONS of versions on my site now. USE CODEPEN TO PLAY WITH CONFIGS Itâs been a real gamechanger for figuring out how to get it to do tons of different stuff! codepen + chatgpt⌠the possibilities are endless! I have multiple on one page and figuring out the styling and functionality would have been impossible without codepen I even figured out how to have it change buttons on one page with several blocks so itâs like an onboarding process! I love this and thank you again @matthieu_chateau <3 !!!
It worked and looked great initially but upon changing things in the Softr builder, it often breaks the code.
There seems to be some bug here since I didnât change the naming of any block, but simply removing one block suddenly breaks the code, meaning that when I load the page, blocks that should be hidden are displayed. Am I the only one it happens to?
Hi!
There might be an error on your end, somewhere. It still works fine. All my blocks are updated and everything is fine with it, same for all the apps of my clients.
A clear understading of the code is necessary if changes are made in the page (block removal, Block ID changes or anything else). Careful with it. Maintaining a code is part of the jobs to be done but this one is mostly free of it (unless you use some cssXXXX selectors somewhere).
Please re-check carefully, if there are some changes to do. If you canât find it => DM me.
I will just mention in case anyone experiences this: I have this implemented across several pages. When I went onsite to start rolling out to my users, a handful of people (limited time from them, so I was unable to do troubleshooting to diagnose) were experiencing the breaking of this block in a similar way to what ob95 reported.
I had the same URL on my laptop â display perfectly fine. Sitting next to another colleagueâs laptop, same browser, same URL, button block completely broken (all blocks displayed on page simeltaneously). We refreshed multiple times with same result. I just walked away thinking WTF, hope not too many random other users have this bug⌠'Cause I have no clue why it would not work for some and not others! With all my other bugs, Iâm cool leaving this mystery unsolved for now
Note that I use the element âbuttonsâ in the header in the Softr studio, not the element âlinksâ, the first being easier to select in the code.
The code to insert in the header (page settings - custom code)
Hi @matthieu_chateau , thanks a lot for the code, I have used it into my app and it is great!!! I used a summary card in the third one instead of the chart.