Tip: Properly Format Dynamic Lists
I’m really enjoying all of the interesting and helpful EE Insider Tips that have been coming in; I’ve been learning a lot of new stuff. From time to time I’ll share a tip that I’ve found helpful, so here’s one for you.
Yesterday user JonnyUK added a nice tip on making sure your dynamic lists don’t leave behind ul
tags when there is no content to display.
The problem occurs when there are actually no results/entries returned for whatever reason. This then leaves you with an empty and incorrectly formatted list…
Read his entire tip: Make sure to format/code your dynamic lists properly
If you find it helpful like I did, be sure to mark it so!