Thanks for your suggestion. It’s been a while since I worked on this but I believe my intention was to (delete element) not have anything at all when the url is empty but include and display element when a url is. So for example if an artist doesn’t have a spotify or soundcloud account to link to, then that section is empty on the page versus an artist that does have a spotify playlist, then the link is added in the database so the html element can display on the page. That way I can save on load times for artist that don’t have urls.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Items collapse if no data, plus other issues | 16 | 425 | February 11, 2021 | |
| Pass HTML code to HTML Box dynamically | 7 | 2100 | July 11, 2018 | |
| Dynamic page with html embedded with url from database | 29 | 7203 | December 3, 2019 | |
| Hide an image when a text value is null. | 19 | 2171 | November 11, 2020 | |
| How to Hide Elements based off other empty Elements? | 15 | 2885 | August 8, 2022 |