True / False XSLT (Umbraco)

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

add as macro in template

Copy this code and paste it in your HTML
  1. <xsl:choose>
  2. <xsl:when test="$currentPage/NAME OF TRUE FALSE HERE = '1'">CODE HERE</xsl:when>
  3. <xsl:otherwise></xsl:otherwise>
  4. </xsl:choose>


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.