Published by Mijingo

movie icon image

EE Insider Blog

Spend your time learning and developing sites with ExpressionEngine and we'll use this blog to keep you informed of all the news related to ExpressionEngine and CodeIgniter.

» Read more in the Archives.

» Have a tip? Send us your EE news.

Learn ExpressionEngine Today

Over a series of 8 videos, watch and learn as Ryan builds an entire ExpressionEngine website from beginning to end. Get started now.

Tip: Properly Format Dynamic Lists

EE Insider Tips iconI’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!

Posted on Jun 08, 2009 by Ryan Irelan

Filed Under: EE Insider Tips