How to change thumb-up AKA "Like" button
Go to inc/class/bxDolVote.php
protected function _getIconDoLike($bVoted)
{
return $bVoted && $this->isUndo() ? 'thumbs-up' : 'thumbs-up';
}
change thumbs-up to arrow-circle-up (or whatever icon you like)
una team this original code should be one for up and one for down no?
-
-
·
Alex T⚜️
- ·
We used to have thumbs-down icon, but it really confuse people, when you already voted then it changes to thumb-down to take vote back, so user see something like this:
123 👎
Which make feeling that 123 people disliked some content.
-
·
Alex T⚜️
-
you can keep the icon just change the color to gray or make it bolder....
-
- · stan laurentiu
- ·
Or just add both options, like and dislike. On my future project, I would like to have them both. Is it possible?
-
-
·
Alex T⚜️
- ·
Hodor Hodor yes, we gray it out already
stan laurentiu you can use vote up/down instead of like if you need dislike.
-
·
Alex T⚜️