[RSS Feed/News] Post Macros Question

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I have a line of code which I am using in post_macros to separate the reactions. Instead of three reactions it shows all of them separated with a counter;

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

It works fine, except when I have 5+ reactions...

Read more

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