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
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
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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
is working on a reply...