cocomment enabling your blog with Flux CMS 1.4 and later
As mentioned in another post, Flux CMS can be made cocomment enabled (or if you install it, it already is). But our comment form has slightly changed with the 1.4 release of Flux CMS, so you maybe have to adjust the cocomment code in your blog.xsl. The correct code is now:
<xsl:if test="$singlePost = 'true'"> <xsl:variable name="entry" select="/bx/plugin[@name = 'blog']/xhtml:html/xhtml:body/xhtml:div"/> <xsl:if test="$entry/@blog:post_comment_allowed='1'"> /* cocomment elements*/ var blogTool = "Flux CMS"; var blogURL = "<xsl:value-of select="$blogroot"/>"; var blogTitle = "<xsl:value-of select="$dctitle"/>"; var postURL = "<xsl:value-of select="$blogroot"/>archive/<xsl:value-of select="$entry/@blog:post_uri"/>.html"; var postTitle = "<xsl:value-of select="$entry/xhtml:h2/text()"/>"; var commentAuthorFieldName = "name"; var commentAuthorLoggedIn = false; var commentFormID = "bx_foo"; var commentTextFieldName = "comments"; var commentButtonName = "bx[plugins][blog][_all]"; </xsl:if> </xsl:if>
Hope that helps
Comments
add a comment
This blog is gravatar enabled.
Your email adress will never be published.
Comment spam will be deleted!
