Skip to content

Instantly share code, notes, and snippets.

@ronnieduke
Created June 13, 2014 22:24
Show Gist options
  • Save ronnieduke/6a3f113ecc7e7328709d to your computer and use it in GitHub Desktop.
Save ronnieduke/6a3f113ecc7e7328709d to your computer and use it in GitHub Desktop.
Mura Category Feed
<cfset catBean = $.getBean('category').loadBy(name="Portfolio Item")>
<cfset catFeed = catBean.getKidsQuery()>
<cfset catList = ValueList(catFeed.name)>
<cfloop list="#catList#" index="category">
<li><a href="##" data-filter=".#$.createCSSID(category)#">#category#</a></li>
</cfloop>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment