menu: Home Books Follow Chat box Sitemap

NOTE** Pindah ke URL baru:
STICKY** Drop your Link! + Mini Giveaway #01

Thursday, June 3, 2010

How To: Attach [Reply to Comment] link next to each comment (Blogger)

For those who use xml template in blogger, you can't directly reply to the comments.. So I found this code that let people reply to the comment with a single click.. easily paste the code (bellow) under this tag <data:commentPostedByMsg/>.. please check the expand widget template box first.. and replace the blog id.. (read below if you don't understand)

<span class="comment-reply"><a expr:href=""" + + "&isPopup=true&postBody=%40%3C%61%20%68%72%65%66%3D%22%23" + data:comment.anchorName + "%22%3E" + + "%3C%2F%61%3E#form"" href="" onclick=", "bloggerPopup", "toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=400,height=450"); return false;">[Reply to comment]</a></span>

1. Go to > Layout > Edit HTML

2. Check the 'Expand Widget Template' box
3.Find this tag <data:commentPostedByMsg/> (ctrl+F)

4. Paste the code bellow the tag you've search
5. Replace YOUR-BLOG-ID in the code. You can find it on your URL box
6. Preview your template, if theres no error save it.. and start replying : )

the code will result this::
your reply will start with this code:: <a href="#c1234567890">Comment Author</a> (don't erase it..) resulting @(someone) in your reply..

No comments:

Post a Comment