stephenjbell

dotCMS - Use selected widget categories to do pull

Apr 22nd, 2011
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #set($categoryQuery = "")
  2. #if($admissionsSection.size() > 0)
  3. #set($categoryQuery = "+categories:")
  4. #end
  5.  
  6. #foreach($categoryInode in $admissionsSection)
  7. #set($admissionsCat = $categories.getCategoryByInode($categoryInode))
  8. #set($categoryQuery = "$categoryQuery$admissionsCat.categoryVelocityVarName ")
  9. #end
Advertisement
Add Comment
Please, Sign In to add comment