Jump to content

reactions count at gallery thumb

Featured Replies

Posted

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 =(

  • Author

any ideas?

Archived

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

Recently Browsing 0

  • No registered users viewing this page.