By Chetan Madaan on Tuesday, 26 May 2020
Posted in General Issues
Replies 3
Likes 0
Views 413
Votes 0
Hi,

We'd live to be able to remove reactions from the activity steam and only have the option to Like (along with comments and others).

Is this possible?

Thank you,
Do you mean you would like to remove the reaction function from the stream item only?

If yes, you can modify on this file JoomlaFolder/components/com_easysocial/themes/wireframe/stream/actions/default.php

Remove these code :


<?php if ($showLikes) { ?>
<li class="action-title-likes streamAction" data-action>
<span data-type="likes"><?php echo $likes->button(); ?></span>
</li>
<?php } ?>


Once you edited the file then copy this file and put into your current template directory location JoomlaFolder/templates/yourCurrentTemplate/html/com_easysocial/stream/actions/default.php so you do not need to modify this file again for every new update in the future.
·
Tuesday, 26 May 2020 09:23
·
0 Likes
·
0 Votes
·
0 Comments
·
I meant disabling all reactions but keeping the like button.

Is that possible?
·
Tuesday, 26 May 2020 09:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you watch my attached video and see is this what you want?

If yes, this will not involved a lot of file modification, you can modify this file JoomlaFolder/components/com_easysocial/themes/wireframe/likes/action.php

Then remove these code :


<div class="es-reactions-pop" data-reactions-list>
<?php foreach ($reactions as $reaction) { ?>
<div class="es-reactions-pop__item <?php echo $selectedReaction && $reaction->getKey() == $selectedReaction->getKey() ? ' is-active' : '';?>"
data-es-likes="<?php echo $reaction->getKey();?>"
data-text="<?php echo $reaction->getText();?>"
>
<div class="es-reactions-pop__text">
<?php echo $reaction->getText();?>
</div>
<div class="es-icon-reaction es-icon-reaction--md es-icon-reaction--<?php echo $reaction->getKey();?>"></div>
</div>
<?php } ?>
</div>
·
Tuesday, 26 May 2020 09:40
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post