Question Last Post Avatar

jOOc

Active Member
In the threads your add-on don't show the user avatar when using the "Last Post Avatar by Waindigo" add-on.

Your Thread List:
upload_2014-12-31_17-43-47.webp
upload_2014-12-31_17-43-20.webp

Ordinary Thread List:
upload_2014-12-31_17-45-35.webp
upload_2014-12-31_17-45-54.webp


What the add-on is doing is a simple template modification on the "thread_list_item" template:
upload_2014-12-31_17-47-45.webp

The template "waindigo_thread_list_item_lastpostavatar" looks like this:
Code:
<xen:require css="waindigo_lastpostavatar.css" />
<xen:hook name="waindigo_thread_list_avatar_last_post_avatar">
    <xen:if is="is_array({$thread.lastPostInfo})">
        <xen:avatar user="$thread.lastPostInfo" size="s" img="true" />
    </xen:if>
</xen:hook>

And you do a template include of the "thread_list_item" in your add-on
So how come it don't get the same avatar? Any clue?
 
Back
Top