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:
Ordinary Thread List:
What the add-on is doing is a simple template modification on the "thread_list_item" template:
The template "waindigo_thread_list_item_lastpostavatar" looks like this:
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?
Your Thread List:
Ordinary Thread List:
What the add-on is doing is a simple template modification on the "thread_list_item" template:
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?