Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anthony Candaele 1197 posts 2049 karma points
    Mar 22, 2011 @ 15:54
    Anthony Candaele
    0

    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

     

     

  • 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

Please Sign in or register to post replies