By Chris Egle on Wednesday, 17 May 2017
Posted in General Issues
Likes 0
Views 650
Votes 0
Hello,

Now that I know where the template of the reactions live (JoomlaFolder/components/com_easyblog/themes/wireframe/reactions/default.php), I'd like to know how to actually change the reactions themselves. I see that the emoji are SVG files, but the part I'm not sure how to change is the data that the model is providing.

Currently there's

  1. Happy
  2. Love
  3. Surprised
  4. Sad
  5. Angry


I'd like to change these because they don't fit with our readers. I'd like to change them (icons and text) to

  1. Agree
  2. Disagree
  3. Like
  4. Love


What would be a good way to change these? I could come up with a 5th option if I need to. Thanks!
hey Chris,

If you would like to customise this, it will be a little bit complicated.

1. All the reaction type was stored at this table -> #__easyblog_reactions

2. If you would like to change that name, you have to update the value from this table.

3. Once you update, you have to add these following language constant into your Joomla backend language override page.
You can take a look of this documentation : https://stackideas.com/docs/easyblog/administrators/how-tos/how-to-create-language-string-override

For example : When you switch that word to 'agree' , that language constant will be COM_EASYBLOG_REACTION_AGREE .

Hope this will help.
·
Wednesday, 17 May 2017 11:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you, that does make sense to me. Thanks for pointing me in the right direction.
·
Thursday, 18 May 2017 01:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Thursday, 18 May 2017 10:18
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post