Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I have setup the url picker for hand typed url and content picker, but im having trouble hiding the a tag when no url is entered.
Any help would be grateful.
<xsl:variable name="url" select="./url/url-picker"/><xsl:if test="$url/@mode !=''"> <a class="button buy" > <xsl:attribute name="href"> <xsl:choose> <xsl:when test="$url/@mode = 'URL'"> <xsl:text>http://</xsl:text><xsl:value-of select="$url/url"/> </xsl:when> <xsl:when test="$url/@mode = 'Content'"> <xsl:value-of select="umbraco.library:NiceUrl($url/node-id)"/> </xsl:when> </xsl:choose> </xsl:attribute> <xsl:text>Buy Now</xsl:text> </a></xsl:if>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
uComponents URL Picker - Hide When Empty
Hi,
I have setup the url picker for hand typed url and content picker, but im having trouble hiding the a tag when no url is entered.
Any help would be grateful.
is working on a reply...