Allows users to react to content or comments with emojis.
Similar to the "Like" module, but allows multiple reaction emojis, such as: π π π π π β€οΈ
The available emoji selection is customizable from this list.
Possibility to:
You can:
Version 1 was funded by the Transition Movement.
Some advanced settings are available by changing the value of public fields of the Module.php file (documentation here).
By default, available emojis are located in protected/humhub/resources/img/emoji.
You can create a new folder on your server containing your custom emoji list (SVG files).
Then, change the value of the emojiPath field by editing the common.php file (documentation here). The folder doesn't need to be inside the webroot: it is published by the asset manager. Example:
return [
[your other values]
'modules' => [
[your other values]
'reaction' => [
'emojiPath' => '@config/my-custom-emojis',
]
]
]
The emojiUrl field is deprecated. If it is set, it is used as the URL of the emoji folder instead of the published one.
Flush HumHub cache in Administration -> Settings -> Advanced -> Caching