Howdy,
I’m trying to display a member’s avatar in the comments area of my site. It sounds, however, like the avatar tags need to be within a weblog tag, (please confirm), which is not the case…so my question would be how to do this, as my understanding is that I can’t put a weblog tag nested in the middle of comments tags…anyway, here’s the code I’m trying to use:
{exp:comment:entries sort="asc" limit="20"}
<ol class="commentlist">
<li class="comment">
<div class="comment-body">
<div class="commentmetadata">
<a href="#">{comment_date format="%Y %m %d"}</a>
</div>
<div class="vcard">
{if avatar}
{avatar_url}
{/if}
comment by <cite class="fn"><a href="http://{member_profile_link}class=url">{name}</a></cite>
</div>
{comment}
<div class="reply">
<a href="#" class="comment-reply-link">Reply to this comment</a>
</div>
</div>
</li>
{/exp:comment:entries}As an aside, member_profile_link also doesn’t seem to be returning anything back. It just outputs the URL of the blog post.
Thanks,
GG