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
I'd like to not show a link on a day with an event, but instead just change the day number font properties, and the td colour etc, I guess it's something like below, but not sure what to test for in the IF statement.
<xsl:template name="createOneCell"> <xsl:param name="cell"/> <td> <xsl:if test=" ???? "> <xsl:attribute name="class">eventfound</xsl:attribute> </xsl:if> <xsl:value-of select="date:dayinmonth($cell/@date)"/> <xsl:for-each select="$cell/event"> <!--<a href="{umbraco.library:NiceUrl(@id)}"> <xsl:value-of select="umbraco.library:GetXmlNodeById(@id)/@nodeName"/> </a>--> </xsl:for-each> </td></xsl:template>
<xsl:if test="boolean($cell/event)" >
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Change table td colour/attributes if event exists
I'd like to not show a link on a day with an event, but instead just change the day number font properties, and the td colour etc, I guess it's something like below, but not sure what to test for in the IF statement.
<xsl:if test="boolean($cell/event)" >
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.