B Blatchy Well-known member Feb 2, 2019 #1 I am using Code: <span>{$thread.first_post_reaction_score|number} <i class="far fa-grin-hearts" Tooltip title="Reaction Score"></i></span> How do I pass along the color of the reaction? It just remains the same color as the text.
I am using Code: <span>{$thread.first_post_reaction_score|number} <i class="far fa-grin-hearts" Tooltip title="Reaction Score"></i></span> How do I pass along the color of the reaction? It just remains the same color as the text.
Jeremy P XenForo developer Staff member Feb 5, 2019 #3 I would use the <xf:reaction> tag instead: HTML: <xf:reaction id="{$reactionId}" small="true" tooltip="true" /> ... replacing the reaction ID with the one you want. Last edited: Feb 5, 2019 Upvote 0 Downvote
I would use the <xf:reaction> tag instead: HTML: <xf:reaction id="{$reactionId}" small="true" tooltip="true" /> ... replacing the reaction ID with the one you want.
B Blatchy Well-known member Feb 5, 2019 #4 Jeremy P said: I would use the <xf:reaction> tag instead: HTML: <xf:reaction id="{$reactionId}" small="true" tooltip="true" /> ... replacing the reaction ID with the one you want. Click to expand... That did not show anything. Upvote 0 Downvote
Jeremy P said: I would use the <xf:reaction> tag instead: HTML: <xf:reaction id="{$reactionId}" small="true" tooltip="true" /> ... replacing the reaction ID with the one you want. Click to expand... That did not show anything.
Jeremy P XenForo developer Staff member Feb 5, 2019 #5 Did you pass in a valid reaction ID? Upvote 0 Downvote