[RSS Feed/News] How do I call a reaction title to display on a post?

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
So I have a piece of code;

<xf:foreach loop="$post.reactions" key="$reactionID" value="$reaction"><xf:trim>
<li><xf:reaction id="{$reactionID}" small="true" /><span class="reactionCount"><span class="reactionCountSmall">x</span>{$reaction}</span></li>
Click to expand...

What it does is lists a reaction, plus it's count. It works fine, but the raeaction title name does not show up (only the Icon).

So instead of;

:) x2

I want it to look like;

:)smile x2

What am I missing? I presume...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom