Sabtu, 05 Mei 2012

cara membuat kotak komentar admin berbeda pada blog



Ketika saya jalan-jalan (blogwalking) saya sering menemukan komentar admin yang berbeda dari pengunjung nya. KomentarHal ini membuat saya selalu bertanya-tanya bagaimana cara mereka membuat nya karena template blogspot punya saya tidak seperti itu.
Akhirnya saya googling dan menemukan banyak cara untuk membuat ini, berikut Cara Membuat Kotak Komentar Admin Berbeda Di Blog :
Masuk blogger > rancangan > edit html > centang expand template widget
Cari kode ]]></b:skin> Pastekan kode berikut tepat di atas kode  ]]></b:skin>
.author-comments {
background: #333333;
border: 2px solid #666666;
padding: 5px;
}
Pada kode berwarna merah di kotak atasbisa diganti sesuai keinginan.
Kemudian cari kode
            <data:commentPostedByMsg/>
            </dt>
Jika sudah ketemu kode di atas, pastekan kode di bawah ini tepat di bawah </dt>
<b:if cond='data:comment.author == data:post.author'>
<dd class='author-comments'>
<p><data:comment.body/></p>
</dd>
<b:else/>
Kemudian cari kode <dd class='comment-footer'> tambahkan </b:if> tepat di atas kode<dd class='comment-footer'>Sehingga keseluruhannya tampak seperti di bawah ini :
<data:commentPostedByMsg/>
</dt>
<b:if cond='data:comment.author == data:post.author'>
<dd class='author-comments'>
<p><data:comment.body/></p>
</dd>
<b:else/>
 <dd class='comment-body' expr:id='data:widget.instanceId + data:comment.cmtBodyIdPostfix'>
              <b:if cond='data:comment.isDeleted'>
                <span class='deleted-comment'><data:comment.body/></span>
              <b:else/>
                <p>
                  <data:comment.body/>
                </p>
              </b:if>
            </dd>
</b:if>            <dd class='comment-footer'>
Terakhir simpan template, dan kemudian untuk melihat hasilnya silahkan  berkomentar diblog sendiri dengan catatan harus login di blogger dulu.



how to make a different comment box admin on the blog


When I walk (blogwalkingI often find a different admin comments from his visitorsIt makes me always wonder how they make it because I have a blogspot template is not like that.
I was googling and finally found many ways to make it, here's How to Create Comment Box In contrast Admin Blog:
Login bloggerdesign> edit htmlcheck expand widget template
Find the code]]> <bskin> and paste the following code right above the code]]> <b: skin>
. author-comments {
background: # 333333;
border: 2px solid # 666 666;
padding5px;
}
In the red code in the box atasbisa replaced as desired.
Then find the code
             <data:commentPostedByMsg/>
             <dt>
If you have found the code abovepaste the following code just below the <dt>
<b:if cond='data:comment.author == data:post.author'>
<dd class='author-comments'>
<p> <data:comment.body/> <p>
<dd>
<b:else/>
Then find the code <dd class='comment-footer'> add <bif> just above the code so that the whole <dd class='comment-footer'> looks like this:
<data:commentPostedByMsg/>
<dt== cond='data:comment.author <b:if data:post.author'>
<dd class='author-comments'>
<p> <data:comment.body/> <p>
<dd>
<b:else/> <dd class='comment-body' expr:id='data:widget.instanceId +data:comment.cmtBodyIdPostfix'>
               <b:if cond='data:comment.isDeleted'>
                 <span class='deleted-comment'> <data:comment.body/> <span>
               <b:else/>
                 <p>
                   <data:comment.body/>
                 <p>
               <bif>
             <dd>
<bif> <dd class='comment-footer'>
Finally save the templateand then to see it please comment on your own blog withblogger notes must log in first.
Share This Article Facebook +Google Twitter Digg Reddit