cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove favorite/like/comment/share from document library?

nwali
Star Contributor
Star Contributor

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 f...  but social links are still working.

Please let me know the way to fix it.

Thanks in advance!

1 ACCEPTED ANSWER

cesarista
World-Class Innovator
World-Class Innovator

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.

View answer in original post

14 REPLIES 14

cesarista
World-Class Innovator
World-Class Innovator

Hi:

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.

--C.

Hi @cesarista ,

Yes share is disable for me inside and out in both document library and document details page but remaining like favourite and comment is not hide under document detail.

So could please provide me path in sdk where i should change the CSS template for it. I am using SDK 4.1.0 .

Also please could provide me changes for removing it.

Thanks,

Piyush

EddieMay
World-Class Innovator
World-Class Innovator

Hi @piyush48,

As this is a solved thread, it might be better for you to start a new thread & reference this one. 

HTH,

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!

llavu
Champ on-the-rise
Champ on-the-rise

Thanks Cesarista. Is there any configuration option to keep favorite and remove like/comment/share?

abhinavmishra14
World-Class Innovator
World-Class Innovator

@llavu Please create a new thread with problem description and steps followed. This thread is marked as resolved

~Abhinav
(ACSCE, AWS SAA, Azure Admin)