By Benoit Gonneville Damme on Wednesday, 10 February 2016
Posted in General Issues
Likes 0
Views 1.1K
Votes 0
I have set Komento as the EB comment system. And since I am using EB app for ES, a stream item is generated when someone comment an EB article using Komento.

The only problem is that the generated stream item is pretty dull. I would like to add the EB cover image to the ES generated stream item.

I tried to add this to \media\com_easysocial\apps\user\komento\themes\default\streams\content.php but it obvisouly generate an empty image.


<?php if( $image ){ ?>
<a href="/<?php echo $permalink;?>" class="blog-image pull-left mr-10">
<img src="/<?php echo $image; ?>" align="left" width="96" />
</a>
<?php } ?>


What would be the appropriated code to use to link to the EB cover image?

Thank you so much in advance for the help.

B.
Hello,

To do this, it needs a customization which is beyond our support policy. However, here is the idea for you to start. Please replace the attached file in:
../media/com_easysocial/apps/user/komento/komento.php
../media/com_easysocial/apps/user/komento/themes/default/streams/content.php

As you can see in komento.php file line 115 and 116, I have assigned variables to be called in the content.php

Hope this helps.
·
Wednesday, 10 February 2016 12:36
·
0 Likes
·
0 Votes
·
0 Comments
·
That's exactly what I needed, thank you so much for your time!!!

Really appreciated!

B.
·
Wednesday, 10 February 2016 13:08
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Wednesday, 10 February 2016 13:12
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post