I'm using Alfresco Community 5.0.d and Alfresco all-in-one sdk for customisation. I am not able to find a way to remove the favorite/like/comment/share from document library.
I followed this How to disable the social plugins (such as following user and ‘like’ document) in Document Library for Alfresco 4.x? | H… but social links are still working.
Please let me know the way to fix it.
Thanks in advance!
Hi:
It is better to copy metadata template definitions from share-documentlibrary-config.xml to share-config-custom.xml, to put replace=true in the corresponding Document Library section and to comment the cited social line.
The reference file is share-documentlibrary-config.xml, which is under WEB-INF directory and it should not be changed, while share-config-custom.xml is in Share web-extension directory.
$ALF_HOME/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml
Regards.
--C.
An option is to replace the default metadata template for simple and detailed view in share-config.custom.xml
Maybe this link helps:
- More about quick shared functionality in Alfresco - zylk
As mentioned in post, Have you tried by commenting following line from share-documentlibrary-config.xml file
<line index="50" id="social" view="detailed">{social}</line>
It should work like a charm.
Well, I think it is the same tip. This should work for Alfresco 5.0.d
this worked like a charm for removing the share (social) button but how to remove other feature including favorite, comments and like option?
Do you refer in document details page ?
In document library and document details, I want to remove the favourite, like and comment feature.
Works still on 5.2.2.
Thanks Cesar!
Hii @cesarista ,
This change for document library work perfectly fine and removes like, favourite, comment but is that any way to remove it from Document details as when i click on any document it still have this inside document details.
Thanks,
PiyushThere is still like favourite and commentThere is no like favourite and comment in document library
In the cited you have some CSS sniplet to include in your theme:
https://www.zylk.net/es/web-2-0/blog/-/blogs/more-about-quick-shared-functionality-in-alfresco
Kind regards.
Hi @piyush48,
As this is a solved thread, it might be better for you to start a new thread & reference this one.
HTH,
Thanks Cesarista. Is there any configuration option to keep favorite and remove like/comment/share?
@llavu Please create a new thread with problem description and steps followed. This thread is marked as resolved