Skip to content

Instantly share code, notes, and snippets.

View seanschroeder's full-sized avatar

Sean Schroeder seanschroeder

View GitHub Profile
@seanschroeder
seanschroeder / Mura-Grid-Controller.cfm
Last active June 1, 2016 20:39
Example of how to output different grids for a Mura Folder when using a custom subtype and extended attributes
<cfset collayout = "">
<cfset gridimagesize = "">
<cfset modrows = "">
<!--- check attribute value for layout of folder / cats --->
<cfswitch expression="#$.content().getValue('gridLayout')#">
<!--- set grid item class / set custom image size / logic on when to start a new 'row' --->