Itteration object relations


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. {def $banner = array()}
  2. {foreach $pagedesign.data_map.sidebar_banners.content.relation_list as $Relations}
  3. {set $banner = fetch( content, node, hash( node_id, $Relations.node_id ) )}
  4. {node_view_gui view='line' content_node=$banner}
  5. {/foreach}

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.