Post Macros Question

  • Thread starter Thread starter Tony Cossio
  • Start date Start date

Tony Cossio

Guest
Member
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

Continue...

Read more

Continue reading...
 
Top