Friday 14 October 2011

呵呵呵!终于搞定reply-to-comments的button了!

把我这几个星期懊恼着该如何回复网友的留言而睡不着呢!
现在终于解决了,可以好好渡过这个周末了 ^^


http://www.spiceupyourblog.com/2010/03/reply-button-option-blogger-comments.html

Adding Comment Replies To Blogger


Step 1. In your dashboard Click 'Design' > 'Edit Html'> Tick the 'Expand Widget templates' box

Design Edit Html Widget Templates

Step 2. Find the following code in your blogs Html :
(Click Ctrl and F for a search bar to help find the code - More Info, Blogger Basics)

<data:commentPostedByMsg/>

Step 3. Paste the following code Directly Below/After <data:commentPostedByMsg/>

<a href='http://www.spiceupyourblog.com'><img alt='Best Blogger Tips' src='http://3.bp.blogspot.com/_rKG-ziTSNUQ/TQ5eV0U0EiI/AAAAAAAACik/xo2eFaDbfrE/s1600/best+blogger+tips.png'/></a><span class='comment-reply'><a expr:href='&quot;https://www.blogger.com/comment.g?blogID=YOUR-BLOG-ID&amp;postID=&quot; + data:post.id + &quot;&amp;isPopup=true&amp;postBody=%40%3C%61%20%68%72%65%66%3D%22%23&quot; + data:comment.anchorName + &quot;%22%3E&quot; + data:comment.author + &quot;%3C%2F%61%3E#form&quot;' onclick='javascript:window.open(this.href, &quot;bloggerPopup&quot;, &quot;toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=400,height=450&quot;); return false;'>[Reply to comment]</a></span><a href='http://www.bestbloggertemplates.net'><img alt='Best Blogger Templates' src='http://3.bp.blogspot.com/_rKG-ziTSNUQ/TQ5eV0U0EiI/AAAAAAAACik/xo2eFaDbfrE/s1600/best+blogger+tips.png'/></a>


Edits : You must make one change to the code - In order for the gadget to display the posts for your blog you must add your blogger I.D.

To find your Blogger I.D. simply go to your layout page, posting page or any of the pages you access from your dashboard and copy your I.D. from the address bar at the top of the page.

Your Blog I.D. is a the number that appears in the URL - This is how your I.D. will be displayed :

Find your blogger i.d.

Once you have your blog I.D. added save your template and the comment replies have been added.

No comments:

Post a Comment