Afiseaza avatare la comentariile de pe Blogger
Show avatars on Blogger Comments
How to add comment avatars on to your Blogger comment section
![]()
Pentru implementarea acestui feature pe blogul tau tip Blogger, e nevoie de inserarea de coduri in template. Pentru ca majoritatea dintre noi, nu folosim template-urile default, acest feature isi intra-n paine mai greu, pentru asta ti-am pregatit urmatorul tutorial:
Cautam aceasta linie
<dl id='comments-block'>
…si o inlocuim cu urmatoarea:
<dl expr:class='data:post.avatarIndentClass' id='comments-block'>
bine, acum iarasi o cautare cu ajutorul tastelor Ctrl+F aceasta linie
<a expr:name='data:comment.anchorName'/>
imediat acestei linii adauga urmatorul cod:
<b:if cond='data:blog.enabledCommentProfileImages'>
<data:comment.authorAvatarImage/>
</b:if>
Salveaza sablonul si gata.
Atentie pentru comentariile “Anonim” sau comentarii ce nu au la baza un profil cel putin blogger se va afisa un spatiu de 35×35, blank. Si pentru a rezolva acest mig bug, inlocuim acest spatiu cu un simplu avatar.
gaseste aceasta linie:
<a expr:name='data:comment.anchorName'/>
si o inlocuieste cu urmatoarea
<b:if cond='data:comment.favicon'>
<img expr:src='data:comment.favicon' height='35px' style='margin-bottom:-2px;' width='35px'/>
</b:if>
la final inainte de acesta ]]></b:skin> : adauga urmatorul cod:
/* Avatar */
.avatar-image-container img {
background:url(http://i860.photobucket.com/albums/ab162/LeBloggerTemplate/AvatarBlogger.png);
width:35px;
height:35px;
}
Related Posts :
This widget will display the recent comments on Blogger blogs (free-hosted or self-hosted).Steps ...
Tutorial widget posturi asemanatoare cu thumbnails pentru Blogger Paşii de urmat pentru inst ...
How To Embed Windows Media Player in a Blogger Blogspot Blog 1.Login to your dashboard--& ...
.fullpost{display:inline;} When we are visiting our friends’ blog which uses WordPress, w ...
Follow these steps :1. Log in to Blogger2. Go to "Layout" section3. Click on "Add A Gadget" link ...


