comments block

Permalink
Hey,
I did install the comments block on my site.
When I hover over a comment there appears a few social links like Facebook and twitter.
I wish to disable these social links. I don't wish to use these links.
nevertheless, i don't see how I have to make them disappear.
can someone help me out of this.
thank you

stedereu
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi stedereu,

To remove the social links, you can override one the Conversation block element that adds them.
- copy message.php
concrete\elements\conversation\message.php
- create this folder path application/elements/conversation
- paste message.php into the conversation folder
application\elements\conversation\message.php
- open message.php and remove the following code:
<li class="ccm-conversation-social-share">
    <a class="ccm-conversation-message-control-icon share-popup" href="https://twitter.com/intent/tweet?url=<?php echo $cnvMessageURL?>" title="<?=t('Share message URL on Twitter.')?>"><i class="fa fa-twitter"></i></a>
</li>
<li class="ccm-conversation-social-share">
    <a class="ccm-conversation-message-control-icon share-popup" href="http://www.facebook.com/sharer.php?u=<?php echo $cnvMessageURL?>" title="<?=t('Share message URL on Facebook.')?>"><i class="fa fa-facebook"></i></a>
</li>