Skip to content

Instantly share code, notes, and snippets.

@bradrice
Created March 23, 2012 18:43
Show Gist options
  • Save bradrice/2173665 to your computer and use it in GitHub Desktop.
Save bradrice/2173665 to your computer and use it in GitHub Desktop.
Get Categories
#foreach($inode in $staffAssociation)
#if($velocityCount == 1)
#set($catlist = $categories.getCategoryByInode($inode).getCategoryVelocityVarName())
#else
#set($catlist = "$catlist $categories.getCategoryByInode($inode).getCategoryVelocityVarName()")
#end
#end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment