Friday, 16 September 2011

TUTORIAL : REPLY TO COMMENT

salam.

this tutorial requested by ENCIK SANGAT.
maaf ye sebab lambat post.. agak busy lately.

fungsi tutorial ini adalah untuk reply komen pada bahagian komen post. contoh seperti ini :





1. Dashboard > Design > Edit Html > Tick Expand Widget Template

2. Tekan Ctrl + F kemudian cari code ini :


<b:include data='comment' name='commentDeleteIcon'/>
3. Copy code kat bawah ni , paste di bawah code tadi.. 
<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. gantikan YOUR BLOG ID dengan blogID anda.
( tengok pada adress link anda sekarang, copy nombor2 selepas blogID tu )

5. Done ! SAVE.
   
Kalau nak tukar reply to comment tu jadi gambar, tukarkan  [Reply to Comment] dengan code di bawah ini :
<img alt='Reply To This Comment' src='URL GAMBAR ANDA'/> 


saya dah create beberapa ikon untuk dikongsikan disni. Kalau nak, ambil la. Jangan segan. =)

https://lh5.googleusercontent.com/-VF1Z1JJ2aTw/TrQ6otCSgII/AAAAAAAABME/UH9_3AMXU7E/s102/REPLY6.png



https://lh6.googleusercontent.com/-1faY8AaF6lE/TraO_BD7AdI/AAAAAAAABNE/yebBNwFKmO8/s93/catfgs.png


https://lh5.googleusercontent.com/-rqHPf0C6bQA/TraO_bQ9edI/AAAAAAAABNA/qdeT5hSbzp0/s107/hp-foldgcer-mail-iconm.png


https://lh4.googleusercontent.com/-gSQUUaxEOcs/TraTcj-3lgI/AAAAAAAABNY/GY67GC_jR2I/s78/catskg.png


https://lh6.googleusercontent.com/-t-Nn_sfdxN4/TraTcuNlrCI/AAAAAAAABNc/WkO6wK7y4G8/s138/hs.png

p/s: ada apa-apa masalah sila bgtahu ye.. kalau dah menjadi tu jangan lupa komen disini

6 comments: