Check depth in node template


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



Copy this code and paste it in your HTML
  1. {if le( $node.depth, '3')}
  2. {set $classes=array( 'infobox', 'folder' )}
  3. {/if}

Report this snippet


Comments


You need to login to view comments.