Sunday, July 24, 2011

tutorial: reply button to comment

hye peeps :) aku rase dah lame tak buat tutorial. rase rindu pulak. okeyh, harini mood aku nak buat tuto reply button untuk komen. jalan lurus don't belok2.

1. Dashboard > Design > Edit HTML > tick Expand Widget Templates.
2. Tekan CTRL+F and serch code di bawah ni
<b:include data='comment' name='commentDeleteIcon'/>
3. dah jumpa kan? sila copy code kat bawah ni and paste di bawah code di atas tadi

<span class='comment-reply'><a expr:href='&quot;https://www.blogger.com/comment.g?blogID=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. yang warna merah tu, korang just tukarkan kepada blog ID korang sendiri.
5. save and preview..

dah siap dah. 



SuKE??SILA LIKE N cik kucings suruh komen!! :)

0 sayang cik kucing: