Hello,
I am trying to replace the user avatar with item cover image in (Recent comments sidebar)
I want to show the "item cover image" instead of "user avatar who added the comment"
In template (nflj_showcase_index_sidebar)
I searched for:
Then I replaced it with:
But the variable {$useritem.cover_image.thumbnailUrl} is not working in this template
I will appreciate if you can help to do this.
I am trying to replace the user avatar with item cover image in (Recent comments sidebar)
I want to show the "item cover image" instead of "user avatar who added the comment"
In template (nflj_showcase_index_sidebar)
I searched for:
Code:
<xen:avatar user="$comment" size="s" img="true" href="{xen:link showcase/comment, $comment}" class="NoOverlay" />
Then I replaced it with:
Code:
<a class="avatar NoOverlay" href="{xen:link showcase, $useritem}">
<img width="48" height="48" border="0" src="{$useritem.cover_image.thumbnailUrl}" />
</a>
But the variable {$useritem.cover_image.thumbnailUrl} is not working in this template
I will appreciate if you can help to do this.