Jump to content

reactions count at gallery thumb


Inlens

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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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