Jump to content

reactions count at gallery thumb


Inlens
 Share

Recommended Posts

in tableRowsThumbs template add this code

{{if \IPS\IPS::classUsesTrait( $image, 'IPS\Content\Reactable' ) and settings.reputation_enabled}}
	{{$reactions = $image->reactionCount();}}
	<li class='ipsPos_right {{if $reactions == 0}}ipsFaded{{endif}}' data-ipsTooltip title=''><i class='fa fa-heart'></i> {$reactions}</li>
{{endif}}

but I see only comment count. Nevertheless my code appeared in source code.
JS framework cut it =(

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...