How to add on Blogger embedded comment form into your blog posts

By Detector | 03 July 2008



Finally Blogger.com developed an inline comment form similar as WordPress. This form can be enabled through Blogger in Draft. This post is short tutorial about activation of this inline comment form to all Blogger hosting blogs.

1. You need to log into your dashboard through Blogger in Draft.
2. Go to Settings>Comments and scroll down the page to see the new “Comment form placement” setting:
3. Check the radio “Embedded below post” which will enable the display of an inline comment form.

You will need to make a small change to your template code for this comment form to display.

1. Go to Layout>Edit HTML in your blog’s dashboard and check the “Expand widget templates” box. Then search for this section of code:

<p class=’comment-footer’> <b:if
cond=’data:post.allowComments‘>
<a expr:href=’data:post.addCommentUrl
expr:onclick=’data:post.addCommentOnclick’><data:postCommentMsg/></a>
</b:if> </p>

2. Replace this entire section of code with the following code:

<p class=’comment-footer’> <b:if cond=’data:post.embedCommentForm‘>
<b:include data=’post’ name=’comment-form’/> <b:else/> <b:if cond=’data:post.allowComments‘>
<a expr:href=’data:post.addCommentUrl
expr:onclick=’data:post.addCommentOnclick’><data:postCommentMsg/></a>
</b:if> </b:if> </p>

3. Save the template.

New comment form will be viewed on a post page in your blog.

Note: This modification will not work for some of customized blogger templates.

Tags | , , ,

| |

2 Responses to “How to add on Blogger embedded comment form into your blog posts”

  1. ToyangQ says:

    useful tips surely

    thanks

  2. hotel cruise says:

    thanks you! great info ! awesome !






Archives

Add to Technorati Favorites
website stats
TwitterCounter for @ukion