hi Arlex,
yes I have did it with you (with NIK FARIS) . We have included following code into this file. After last ES update it looks like this code does not work anymore. Why could you not include the feature of displaying "Komento attachments to the default Komento app? It looks like a couple of lines of code but this would really round up the integration between ES and Komento.
On 18.02.2016 Nik Faris wrote: I've fixed it for you in this file: ../media/com_easysocial/apps/user/komento/themes/default/streams/content.php and also have fixed it internally and will be included in the next release.
<?php if ($attachments) { ?>
<h4><?php echo JText::_('COM_KOMENTO_COMMENT_ATTACHMENTS');?></h4>
<hr />
<ul class="comment-attachments" style="list-style: none;margin: 0;">
<?php foreach ($attachments as $attachment) { ?>
<li style="margin-bottom: 10px;">
<?php if( $attachment->getIconType() == 'image') { ?>
<a class="attachment-image-link attachmentImageLink" href="<?php echo $attachment->getLink(); ?>" target="_blank">
<img class="comment-attachment-image" src="<?php echo $attachment->getLink();?>"/></a>
<?php } else { ?>
<a href="<?php echo $attachment->getLink(); ?>" class="attachmentDetail">
<?php echo $attachment->filename;?></a>
<i class="icon-mime type-<?php echo $attachment->getIconType(); ?>"></i>
(<?php echo round($attachment->size / 1024);?> <?php echo JText::_('kb');?>)
<?php }?>
</li>
<?php } ?>
</ul>
<?php } ?>
thanks in advance and best regards
Martin