stephenjbell

Loop through numbered fields - dotCMS

May 31st, 2012
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #foreach($thing in $dotcontent.pull("+structureName:EbiblestudyLesson",10,"modDate desc"))
  2. #foreach($num in [1..3])
  3. #set($fieldname = "worksheet$!{num}")
  4. $thing.get($fieldname).rawUri
  5. #end
  6. #end
Advertisement
Add Comment
Please, Sign In to add comment