How do I remove the Social NetWork icons?
To remove the social links, you can override the conversation message element.
- copy message.php
- paste message.php into application\elements\conversation
- open message.php
- comment out lines 151-157
<li class="ccm-conversation-social-share"><span class="ccm-conversation-message-divider">|</span></li> <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="<?php echo 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="<?php echo t('Share message URL on Facebook.')?>"><i class="fa fa-facebook"></i></a> </li>
I found the first step this way: Concrete/Elements/Conversation/Editor/Markdown/Message.php.
None of these have lines more than 130.
In the second step I also do not see what you have.... I only have:
Applications/Elements/ ( there are no other folders at this point. Do I need to create it?...once I find the right code in the first step)
The file path to message.php is concrete\elements\conversation\message.php.
If the file folders in application do not exist, you will need to create them.
There are 2 folders; Editor and Message.
The Message folder has "add_form" , "author", "pending" and "topic".
In the Editor" folder, there are 3 folders; Markdown, Plain_text and redactor. each one of them have a file "message.php". I can not find a message.php in any of these folders with the lines of code that you are showing. i'll attach a screen shot. thanks for your continued help.
The message.php file is in the "conversation" folder, not in the "editor" or "message" folders.
Have you tried clicking the "conversation" folder icon in the tree (left) to list the contents in the right panel?
I have attached a ZIP file that contains the modified message.php file. Unzip the file and upload message.php into application\elements\conversation.
The file path after uploading should be:
our site is private, so really do not want the social media links.... what do recommend ?
If you want to create an FTP and concrete5 account for me and send the account info by private message, I can take a look.
Here's what worked for me: Add a Content block to the place where you think the Social Links block is appearing. In my case it was an "Empty Sitewide" area.
Then, without adding any content, just hit Save. The block changes to "Empty Content Block." Then just delete the block.
Poof! No more Social Links. If that doesn't work, try replacing a different block.
When I deleted the content block, it reverted back to being an "Empty Sitewide" block. Same thing worked for the pesky Nav bar. BTW, I'm using the Fundamental theme, which otherwise is working great.