To retrieve webpart title in Contentquerymain.xsl, You can use Feed Title web part property, that if not set is equal to web part Title; to achieve this you need to add
<xsl:param name="FeedTitle" />
to your custom ContentQueryMain.xsl in the params section.
Doing this the param FeedTitle will contain the web part Title and can be used inside xsl as below code
<xsl:value-of select="$FeedTitle"/>
Thanks!
Avinash
<xsl:param name="FeedTitle" />
to your custom ContentQueryMain.xsl in the params section.
Doing this the param FeedTitle will contain the web part Title and can be used inside xsl as below code
<xsl:value-of select="$FeedTitle"/>
Thanks!
Avinash
No comments:
Post a Comment