Tuesday, April 12, 2011

Tutorial: Reply To Comment

Kali ni nak ajar korang macam mana nak buat repy to comment . Selalu korang nak comment kat setengah blog ada button reply ni . Example aku takde nak bagi sebab code aku ni buat masalah . Follow step bawah .

1 Dashboard > Design > Edit HTML > Tick Expand Widget Template

2 Search this code
<b:include data='comment' name='commentDeleteIcon'/>
3 Copy code ni then pastekan kat bawah code korang cari tu
<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>
4 Teks warna merah tu korang boleh tukar dengan ini
<img alt='Reply To This Comment' src='URL GAMBAR ANDA'/>  
 Save template !

No comments: