Di kesempatan kali ini, Forgini bakal ngebahas tutorial tentang membuat komentar Blogger dan komentar Google+ secara bersamaan. Setelah googling sana sini, nyasar disitu dimari akhirnya nemu juga yang pas! dan ini udah melewati hasil uji coba sendiri gan, tentu saja hasilnya berhasil!. Yuukk, langsung aja follow step-step dibawah:
1. Buka blog sobat
2. Buka daftar entri, lalu pilih template
3. Pilih Edit HTML
4. Cari kode dibawah
<b:includable id='comment_picker' var='post'>...</b:includable>
Ganti semua kode diatas menjadi berikut:
<b:includable id='comment_picker' var='post'>
<b:if cond='data:post.forceIframeComments'>
<b:include data='post' name='iframe_comments'/>
<b:if cond='data:post.showThreadedComments'>
<b:include data='post' name='threaded_comments'/>
<b:else/>
<b:include data='post' name='comments'/>
</b:if>
<b:else/>
<b:if cond='data:post.commentSource == 1'>
<b:include data='post' name='iframe_comments'/>
<b:else/>
<b:if cond='data:post.showThreadedComments'>
<b:include data='post' name='threaded_comments'/>
<b:else/>
<b:include data='post' name='threaded_comments'/>
</b:if>
</b:if>
</b:if>
</b:includable>
<b:if cond='data:post.forceIframeComments'>
<b:include data='post' name='iframe_comments'/>
<b:if cond='data:post.showThreadedComments'>
<b:include data='post' name='threaded_comments'/>
<b:else/>
<b:include data='post' name='comments'/>
</b:if>
<b:else/>
<b:if cond='data:post.commentSource == 1'>
<b:include data='post' name='iframe_comments'/>
<b:else/>
<b:if cond='data:post.showThreadedComments'>
<b:include data='post' name='threaded_comments'/>
<b:else/>
<b:include data='post' name='threaded_comments'/>
</b:if>
</b:if>
</b:if>
</b:includable>
5. Cari kode dibawah
<b:includable id='threaded_comments' var='post'>...</b:includable>
Ganti semua kode diatas menjadi berikut:
<b:includable id='threaded_comments' var='post'>
<div id='com-header'>
<h6>Tinggalkan jejak Anda menggunakan: </h6> <br/> <br/><br/><img class='com-on' id='com-norm' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh54EeE4JwXrbQDkIjHRXAPs3sptZy0d_pIVh2q_jaD_vMNmAENNlBq1Edz6Q_C-f0QWcPeUW-WKkD-WkmKqVChRJWTiZ1_tzJSaCSHIVYdZXYbiabxaYAPGRRg-ch7SlQeoSaBSKyREtaU/s356/blogger-comments-on.png' title='Komentar Blogger' width='120'/><h6>atau</h6> <image id='com-gplus' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBEk1VsHBq2W7un-FF6A2MATUrf3jxqcn0RjHbtCuyUGtoCpYNESmCMvs_rfN2OBal_7uYFRBMzqOwZOezdU4SuksOV5qoOrkI6lj2Zrz_IP2nbhFftJh947D41qiYyXMuyBMjrFbsXQyi/s356/google-plus-comments-off.png' title='Komentar Google+' width='120'/>
</div>
<div id='comment-zone'>
<div class='comments' id='comments'>
<a name='comments'/>
<h4><data:post.commentLabelFull/>:</h4>
<div class='comments-content'>
<b:if cond='data:post.embedCommentForm'>
<b:include data='post' name='threaded_comment_js'/>
</b:if>
<div id='comment-holder'>
<data:post.commentHtml/>
</div>
</div>
<p class='comment-footer'>
<b:if cond='data:post.allowNewComments'>
<b:include data='post' name='threaded-comment-form'/>
<b:else/>
<data:post.noNewCommentsText/>
</b:if>
</p>
<b:if cond='data:showCmtPopup'>
<div id='comment-popup'>
<iframe allowtransparency='true' frameborder='0' id='comment-actions' name='comment-actions' scrolling='no'>
</iframe>
</div>
</b:if>
<div id='backlinks-container'>
<div expr:id='data:widget.instanceId + "_backlinks-container"'>
<b:if cond='data:post.showBacklinks'>
<b:include data='post' name='backlinks'/>
</b:if>
</div>
</div>
</div>
<div id='gcontainer'><div id='gcomments'/></div>
<script src='http://apis.google.com/js/plusone.js'/>
<script>
var _0x4c2d=["gcomments","location","620","BLOGGER","FILTERED_POSTMOD",
"render","comments","display","none","css",
"#gcontainer","block",
"#comments","com-on","addClass",
"#com-norm","removeClass",
"#com-gplus",
"src","https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh54EeE4JwXrbQDkIjHRXAPs3sptZy0d_pIVh2q_jaD_vMNmAENNlBq1Edz6Q_C-f0QWcPeUW-WKkD-WkmKqVChRJWTiZ1_tzJSaCSHIVYdZXYbiabxaYAPGRRg-ch7SlQeoSaBSKyREtaU/s356/blogger-comments-on.png",
"attr","https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBEk1VsHBq2W7un-FF6A2MATUrf3jxqcn0RjHbtCuyUGtoCpYNESmCMvs_rfN2OBal_7uYFRBMzqOwZOezdU4SuksOV5qoOrkI6lj2Zrz_IP2nbhFftJh947D41qiYyXMuyBMjrFbsXQyi/s356/google-plus-comments-off.png",
"click","https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZ095s_52NcS-NdiyGbKFLt5x183E9H8n6Ex8UsUkij41iNToLvvZ-5BDh1TPHkI0Jk1fULDGUHp5IX5utuKOBWtouYdTmJoGGledRTk-uz5bshOCC6efXUMA8mE2KcnTuz2Ndf_zB5E65/s356/blogger-comments-off.png",
"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6CBW6sB3_F88XhOvoZD4q1EruWW0RETxhwxsBxxBiqNIYVJ831rT56IZUqrQ1CiKazVok-BzXoWMOKOsnPVmYQ6v67Wr6SGc7qB9w4lXmQp-GQnStk6BC9I-Bh0XcXtl85auRDKlT9Tfi/s356/google-plus-comments-on.png",
"hasClass","hover","href","http://www.komputekno.com"];
</script>
<script src='http://rasitorasta.googlecode.com/files/blogger-comment.js'/>
<style>
#gcontainer {
display:none;
}
#com-norm,#com-gplus {
cursor:pointer;
padding:0 5px;
float:left
}
#com-header {
border: 1px solid #d2d2d2;
padding-bottom: 10px;
float: left;
width: 618px;
margin: 5px 0 5px 0;
background: #f5f5f5;
}
#com-header h6{
font-size: 16px;
text-transform: none;
font-weight: bold;
text-align: center;
float: left;
padding-top: 15px;
margin: 0px;
margin-right: 7px;
margin-left: 7px;
}
</style>
</div>
</b:includable>
<div id='com-header'>
<h6>Tinggalkan jejak Anda menggunakan: </h6> <br/> <br/><br/><img class='com-on' id='com-norm' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh54EeE4JwXrbQDkIjHRXAPs3sptZy0d_pIVh2q_jaD_vMNmAENNlBq1Edz6Q_C-f0QWcPeUW-WKkD-WkmKqVChRJWTiZ1_tzJSaCSHIVYdZXYbiabxaYAPGRRg-ch7SlQeoSaBSKyREtaU/s356/blogger-comments-on.png' title='Komentar Blogger' width='120'/><h6>atau</h6> <image id='com-gplus' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBEk1VsHBq2W7un-FF6A2MATUrf3jxqcn0RjHbtCuyUGtoCpYNESmCMvs_rfN2OBal_7uYFRBMzqOwZOezdU4SuksOV5qoOrkI6lj2Zrz_IP2nbhFftJh947D41qiYyXMuyBMjrFbsXQyi/s356/google-plus-comments-off.png' title='Komentar Google+' width='120'/>
</div>
<div id='comment-zone'>
<div class='comments' id='comments'>
<a name='comments'/>
<h4><data:post.commentLabelFull/>:</h4>
<div class='comments-content'>
<b:if cond='data:post.embedCommentForm'>
<b:include data='post' name='threaded_comment_js'/>
</b:if>
<div id='comment-holder'>
<data:post.commentHtml/>
</div>
</div>
<p class='comment-footer'>
<b:if cond='data:post.allowNewComments'>
<b:include data='post' name='threaded-comment-form'/>
<b:else/>
<data:post.noNewCommentsText/>
</b:if>
</p>
<b:if cond='data:showCmtPopup'>
<div id='comment-popup'>
<iframe allowtransparency='true' frameborder='0' id='comment-actions' name='comment-actions' scrolling='no'>
</iframe>
</div>
</b:if>
<div id='backlinks-container'>
<div expr:id='data:widget.instanceId + "_backlinks-container"'>
<b:if cond='data:post.showBacklinks'>
<b:include data='post' name='backlinks'/>
</b:if>
</div>
</div>
</div>
<div id='gcontainer'><div id='gcomments'/></div>
<script src='http://apis.google.com/js/plusone.js'/>
<script>
var _0x4c2d=["gcomments","location","620","BLOGGER","FILTERED_POSTMOD",
"render","comments","display","none","css",
"#gcontainer","block",
"#comments","com-on","addClass",
"#com-norm","removeClass",
"#com-gplus",
"src","https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh54EeE4JwXrbQDkIjHRXAPs3sptZy0d_pIVh2q_jaD_vMNmAENNlBq1Edz6Q_C-f0QWcPeUW-WKkD-WkmKqVChRJWTiZ1_tzJSaCSHIVYdZXYbiabxaYAPGRRg-ch7SlQeoSaBSKyREtaU/s356/blogger-comments-on.png",
"attr","https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBEk1VsHBq2W7un-FF6A2MATUrf3jxqcn0RjHbtCuyUGtoCpYNESmCMvs_rfN2OBal_7uYFRBMzqOwZOezdU4SuksOV5qoOrkI6lj2Zrz_IP2nbhFftJh947D41qiYyXMuyBMjrFbsXQyi/s356/google-plus-comments-off.png",
"click","https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZ095s_52NcS-NdiyGbKFLt5x183E9H8n6Ex8UsUkij41iNToLvvZ-5BDh1TPHkI0Jk1fULDGUHp5IX5utuKOBWtouYdTmJoGGledRTk-uz5bshOCC6efXUMA8mE2KcnTuz2Ndf_zB5E65/s356/blogger-comments-off.png",
"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6CBW6sB3_F88XhOvoZD4q1EruWW0RETxhwxsBxxBiqNIYVJ831rT56IZUqrQ1CiKazVok-BzXoWMOKOsnPVmYQ6v67Wr6SGc7qB9w4lXmQp-GQnStk6BC9I-Bh0XcXtl85auRDKlT9Tfi/s356/google-plus-comments-on.png",
"hasClass","hover","href","http://www.komputekno.com"];
</script>
<script src='http://rasitorasta.googlecode.com/files/blogger-comment.js'/>
<style>
#gcontainer {
display:none;
}
#com-norm,#com-gplus {
cursor:pointer;
padding:0 5px;
float:left
}
#com-header {
border: 1px solid #d2d2d2;
padding-bottom: 10px;
float: left;
width: 618px;
margin: 5px 0 5px 0;
background: #f5f5f5;
}
#com-header h6{
font-size: 16px;
text-transform: none;
font-weight: bold;
text-align: center;
float: left;
padding-top: 15px;
margin: 0px;
margin-right: 7px;
margin-left: 7px;
}
</style>
</div>
</b:includable>
6. Langkah berikut ini adalah pilihan optional (tidak semua template terdapat kode yang sama) namun jika ada, cari kode dibawah
<div class='post-outer'>
<b:include data='post' name='post'/>
<b:if cond='data:blog.pageType == "static_page"'>
<div class='cmt_iframe_holder' expr:data-href='data:post.canonicalUrl' expr:data-viewtype='data:post.viewType'/>
<b:if cond='data:post.showThreadedComments'>>
<b:include data='post' name='threaded_comments'/>
<b:else/>
<b:include data='post' name='comments'/>
</b:if>
</b:if>
<b:if cond='data:blog.pageType == "item"'>
<div class='cmt_iframe_holder' expr:data-href='data:post.canonicalUrl' expr:data-viewtype='data:post.viewType'/>
<b:if cond='data:post.showThreadedComments'>
<b:include data='post' name='threaded_comments'/>
<b:else/>
<b:include data='post' name='comments'/>
</b:if>
</b:if>
</div>
<b:include data='post' name='post'/>
<b:if cond='data:blog.pageType == "static_page"'>
<div class='cmt_iframe_holder' expr:data-href='data:post.canonicalUrl' expr:data-viewtype='data:post.viewType'/>
<b:if cond='data:post.showThreadedComments'>>
<b:include data='post' name='threaded_comments'/>
<b:else/>
<b:include data='post' name='comments'/>
</b:if>
</b:if>
<b:if cond='data:blog.pageType == "item"'>
<div class='cmt_iframe_holder' expr:data-href='data:post.canonicalUrl' expr:data-viewtype='data:post.viewType'/>
<b:if cond='data:post.showThreadedComments'>
<b:include data='post' name='threaded_comments'/>
<b:else/>
<b:include data='post' name='comments'/>
</b:if>
</b:if>
</div>
Ganti semua kode diatas menjadi berikut:
<div class='post-outer'>
<b:include data='post' name='post'/>
<b:if cond='data:blog.pageType == "static_page"'>
<b:include data='post' name='comment_picker'/>
</b:if>
<b:if cond='data:blog.pageType == "item"'>
<b:include data='post' name='comment_picker'/>
</b:if>
</div>
<b:include data='post' name='post'/>
<b:if cond='data:blog.pageType == "static_page"'>
<b:include data='post' name='comment_picker'/>
</b:if>
<b:if cond='data:blog.pageType == "item"'>
<b:include data='post' name='comment_picker'/>
</b:if>
</div>
7. Langkah terakhir yaitu klik simpan template.
*Tambahan:
- Jika sobat kebingungan mencari kode-kode tersebut, yang perlu sobat lakukan adalah tekan ctrl+f lalu masukkan kata kunci kode tersebut
- Untuk dapat mengaktifkan kode diatas, matikan perintah yang terdapat pada entri Google+
Nah, jika semua langkah yang sobat lakukan benar, maka tampilan komentar sobat akan menjadi seperti gambar dibawah
udah pintar cantik pula :)
BalasHapus74B70871..
BalasHapusmo blajar tentang vegas pro..tolong di bantu...rio 74B70871
BalasHapus