Skip to content

Instantly share code, notes, and snippets.

@makbeta
Created November 30, 2012 02:05
Show Gist options
  • Save makbeta/4173317 to your computer and use it in GitHub Desktop.
Save makbeta/4173317 to your computer and use it in GitHub Desktop.
Luminate CMS: How to render a list of CMS items with category heading? (this will work better once we will have an ability to sort lists by category)
<t:set id="lastcat" value="null" />
<t:list>
<t:list id="resource_type">
<t:if test="lastcat != name">${label}<t:set id="lastcat" value="name" /></t:if>
</t:list>
</t:list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment