By Avi on Wednesday, 26 June 2019
Posted in General Issues
Replies 3
Likes 0
Views 340
Votes 0
How can I add icons to the posts like/comment/share like you can see in the following screenshot?
Hi there,

You can do some modification on this files .../components/com_easysocial/themes/wireframe/stream/actions/default.php and by using Font Awesome icons as you can refer here https://fontawesome.com/icons?from=io. Do remember to do template override for your changes as you can refer here https://stackideas.com/docs/easysocial/administrators/templating/template-overrides

You can refer them here on how to apply them here .../components/com_easysocial/themes/wireframe/repost/counter.php as for an example on codes below. This button are for repost button.

[gist type="php"]
<i class="fa fa-retweet"></i> <?php echo $count;?>
[/gist]

For your informations, it is considered a request for customisation and unfortunately we cannot accommodate your request currently as it is beyond our support scope's policy as outlined in https://stackideas.com/support. We only can provide you with some workaround so that you can achieve them.

Having said that, if you require us to perform the customization for you, you can always request for a quote from us at https://crm.stackideas.com and select "Customizations" . Our sales person would gladly send you a quote for the customization that you have requested.
·
Wednesday, 26 June 2019 11:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Your workaround is really nice and I really appreciate your help here, however, when I'm doing it... I can see the icons properly, but if you try to click on them, it does not work.... and on the template I saw, you are actually able to click on the like icon in order to 'like', any ideas how to do it ?
Avi
·
Friday, 28 June 2019 21:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

I've tested in locally, it seems like that is no easier way to customize this if you would like to make those icon clickable as well.

In order to make that link clickable, it required some of the data attribute so the Javascript part can able to do something on the page.

For example this repost data attribute. https://www.screencast.com/t/pcMWX3oOx , and you can't hardcode those data attribute value into that code file, because each of the stream item also have their own different value, so it involved a few files to customize this.

If you urgently need this, I would suggest you that request for a quote from us at https://crm.stackideas.com and select "Customizations" . Our sales person would gladly send you a quote for the customization that you have requested.
·
Sunday, 30 June 2019 15:37
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post