Copied to clipboard

Flag this post as spam?

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


  • Mitra 81 posts 196 karma points
    Nov 05, 2013 @ 14:17
    Mitra
    0

    add/delete Social Links to Masterpage

    Hello - I have made a content called Social and Social items with some subnodes like facebook, twitter....
    in the xslt file, i don't know how to call these. my code is:

    <ul>
        <xsl:for-each select="$currentPage/ancestor-or-self::SocialLinks//SocialLinksItems">
            
        <xsl:variable name="Visible" select="socialLinkVisible" />
        <xsl:if test="$Visible = '1'" >
        <li>
            <xsl:variable name="link" select="socialLinkTopImage"/>
            <a href="socialLink" class="sociallinks" target="_blank"><img src="link" alt="" class="news-img" /></a>
            
        </li>
        </xsl:if>
    </xsl:for-each>
    </ul>

    the content page looks like this:

        Content
            Mysite
                about
                news
                Social Links
                    google+
                    Facebook
                    Linkedin
                    Twitter

  • 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.

Please Sign in or register to post replies