Browse: Home > Today > Teste
Here's what you wanna do... First of all go to Template -> Edit HTML, check the box for Expanding the widget template, and find the commenting section: [ dl id='comments-block' ] [ b:loop values='data:post.comments' var='comment' ] [ dt class='comment-author' expr:id='"comment-" + data:comment.id' ][ div class='commentphoto' style='float:right;'/ ] [ a expr:name='"comment-" + data:comment.id'/ ] [ b:if cond='data:comment.authorUrl' ] [ a expr:href='data:comment.authorUrl' rel='nofollow' ][ data:comment.author/ ][ /a ] [ b:else/ ] [ data:comment.author/ ] [ /b:if ] [ data:commentPostedByMsg/ ] [ /dt ] [ dd class='comment-body' ] [ b:if cond='data:comment.isDeleted' ] [ span class='deleted-comment' ][ data:comment.body/ ][ /span ] [ b:else/ ] [ p ][ data:comment.body/ ][ /p ] [ /b:if ] [ /dd ] [ dd class='comment-footer' ] [ span class='comment-timestamp' ] [ a expr:href='"#comment-" + data:comment.id' title='comment permalink' ] [ data:comment.timestamp/ ] [ /a ] [ b:include data='comment' name='commentDeleteIcon'/ ] [ /span ] [ /dd ][ div style='clear:both;'/ ] [ /b:loop ] [ /dl ]The 2 lines in bold are what you add. You can change float:right to float:left if you want the pic to be on the left instead of the right.Now scroll back up and add the following before the [/header] tag: [script src='http://jscripts.ning.com/get.php?xn_auth=no&id=830605' type='text/javascript'/ ] [script type='text/javascript' ]// [![CDATA[addLoadEvent(function(){showCommentPhotos('commentphoto','comment-author', 1);});//]] ] [/script ]
Enviar um comentário
1 Comment:
Here's what you wanna do... First of all go to Template -> Edit HTML, check the box for Expanding the widget template, and find the commenting section:
[ dl id='comments-block' ]
[ b:loop values='data:post.comments' var='comment' ]
[ dt class='comment-author' expr:id='"comment-" + data:comment.id' ]
[ div class='commentphoto' style='float:right;'/ ]
[ a expr:name='"comment-" + data:comment.id'/ ]
[ b:if cond='data:comment.authorUrl' ]
[ a expr:href='data:comment.authorUrl' rel='nofollow' ][ data:comment.author/ ][ /a ]
[ b:else/ ]
[ data:comment.author/ ]
[ /b:if ]
[ data:commentPostedByMsg/ ]
[ /dt ]
[ dd class='comment-body' ]
[ b:if cond='data:comment.isDeleted' ]
[ span class='deleted-comment' ][ data:comment.body/ ][ /span ]
[ b:else/ ]
[ p ][ data:comment.body/ ][ /p ]
[ /b:if ]
[ /dd ]
[ dd class='comment-footer' ]
[ span class='comment-timestamp' ]
[ a expr:href='"#comment-" + data:comment.id' title='comment permalink' ]
[ data:comment.timestamp/ ]
[ /a ]
[ b:include data='comment' name='commentDeleteIcon'/ ]
[ /span ]
[ /dd ]
[ div style='clear:both;'/ ]
[ /b:loop ]
[ /dl ]
The 2 lines in bold are what you add. You can change float:right to float:left if you want the pic to be on the left instead of the right.
Now scroll back up and add the following before the [/header] tag:
[script src='http://jscripts.ning.com/get.php?xn_auth=no&id=830605' type='text/javascript'/ ]
[script type='text/javascript' ]
// [![CDATA[
addLoadEvent(function(){showCommentPhotos('commentphoto','comment-author', 1);});
//]] ]
[/script ]
Enviar um comentário