RedDot Conditional Navigation


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



Copy this code and paste it in your HTML
  1. <reddot:cms>
  2. <if>
  3. <query valuea="Context:CurrentPage.Elements.GetElement(opt_show_in_left_navigation).GetHtml()" operator="!=" valueb="String:false">
  4. <htmltext>
  5. <h3><a href="<%!! Context:CurrentIndex.GetUrl() !!%>"><%!! Context:CurrentIndex.Headline !!%></a></h3>
  6. <ul>
  7. <navigation:nextlevel>
  8. </ul>
  9. </htmltext>
  10. </query>
  11. </if>
  12. </reddot:cms>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.