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>

URL: http://stackoverflow.com/questions/8236851/umbraco-create-a-tickbox-list-which-will-define-what-content-to-add-to-a-page

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.