problem with Blog4Umbraco and Cog Flexible Navigation
Hi,
As you can see in the screenshot I'm having a problem with the Cog Flexible Navgigation and blogposts (Blog4Umbraco)
I found the problem in the xslt-code of the Cog Flexible Navigation xslt code:
<!--set the innerText for the a
element--> <xsl:value-of
select="@nodeName"/> <xsl:if test="string(./pageTitle/text())
= ''"> <xsl:value-of select="@nodeName"/> </xsl:if>
As a blogpost doesn't have a pageTitle property, the nodeName attribute is rendered twice.
So I could solve this by adding a condition to the if-statement to also exclude BlogPost elements, only my Xslt knowledge is not that good.
Does someone know how I can add an exclude condition for BlogPost elements to the if-statement?
problem with Blog4Umbraco and Cog Flexible Navigation
Hi,
As you can see in the screenshot I'm having a problem with the Cog Flexible Navgigation and blogposts (Blog4Umbraco)
I found the problem in the xslt-code of the Cog Flexible Navigation xslt code:
<!--set the innerText for the a element-->
<xsl:value-of select="@nodeName"/>
<xsl:if test="string(./pageTitle/text()) = ''">
<xsl:value-of select="@nodeName"/>
</xsl:if>
As a blogpost doesn't have a pageTitle property, the nodeName attribute is rendered twice.
So I could solve this by adding a condition to the if-statement to also exclude BlogPost elements, only my Xslt knowledge is not that good.
Does someone know how I can add an exclude condition for BlogPost elements to the if-statement?
Thanks for your help,
Anthony
Belgium
is working on a reply...