New Advanced Template Features

Back to Help

If you have an advanced template and wish to add a new feature, please copy and paste the HTML code below to the place in the advanced template where you want the new feature to appear. (Note: if you have a Classic custom template, the "Leave calling card", "Link to this" and "Recent entries" new features are not supported.)

Leave calling card

<a id="{concat('PostCallingCardHelperButton-', postId)}" href="javascript:">leave calling card</a>

<xsl:value-of select="extender:renderPostCallingCardHelper(postId)" disable-output-escaping="yes" />

Link to this

<a id="{concat('PostLinkHelperButton-', postId)}" href="javascript:">link to this</a>

<xsl:value-of select="extender:renderPostLinkHelper(postId)" disable-output-escaping="yes" />

Calendar

<span class="calendar">

<xsl:value-of select="extender:renderCalendar()" disable-output-escaping="yes" />

</span>

Recent entries

<xsl:for-each select="blogPage/recentPosts">

<xsl:if test="count(items/post)>0">

<h5>

<xsl:value-of select="name" />

</h5>

<ul>

<xsl:for-each select="items/post">

<li>

<a href="{url}">

<xsl:choose>

<xsl:when test="string-length(subject)=0">

(No subject)

</xsl:when>

<xsl:otherwise>

<xsl:value-of select="subject" />

</xsl:otherwise>

</xsl:choose>

</a>

</li>

</xsl:for-each>

</ul>

</xsl:if>

</xsl:for-each>

Did this help? Continue browsing.

Still have questions? Go back to the help department or email us.