Hello,
I am trying to replace the user avatar with item cover image in (Recent comments sidebar)
![upload_2015-10-14_13-54-18.png upload_2015-10-14_13-54-18.png](https://xenaddons.com/data/attachments/2/2115-13ff0969b64e3212dd9026b6797bdd4c.jpg)
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)
![upload_2015-10-14_13-54-18.png upload_2015-10-14_13-54-18.png](https://xenaddons.com/data/attachments/2/2115-13ff0969b64e3212dd9026b6797bdd4c.jpg)
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.