Skip to content

Instantly share code, notes, and snippets.

@makbeta
Created November 30, 2012 02:07
Show Gist options
  • Save makbeta/4173324 to your computer and use it in GitHub Desktop.
Save makbeta/4173324 to your computer and use it in GitHub Desktop.
Luminate CMS: How to configure a list to display to show alternative text when filter criteria is not satisfied
<t:if test="length > 0">
<div class="list"><h3>My Heading</h3>
<t:list>
<div class="list-item"><a href="${url}">${title}</a></div>
<t:list>
</div>
</t:if>
<t:else>
<p>No results for your parameters</p>
</t:else>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment