02-07-2018 08:34 AM
I want to hide "share" link with its icon from more info while searching documents.. screenshot attached.
I was trying this by overriding faceted-search.get.js file. added "showMoreInfo: false" in id: "FCTSRCH_SEARCH_RESULT" . but this hided that "i" icon for more info.
I want to extend/override this from JSDoc: Source: renderers/MoreInfo.js (alfresco/renderers/moreInfo)
If anyone can help me with this.
Thanks.
10-01-2019 02:33 AM
hided the whole i option.
02-08-2018 02:39 AM
You need to extend faceted-search.get.js.In gally view there is widget as named as alfresco/renderers/MoreInfo as you mentioned.
You need to extend the widget and remove the unnecessary part(share link).Give the reference of extended widget in faceted-search.get.js.So it will be like changing alfresco/renderers/MoreInfo in to search/js/CustomMoreInfo.
02-08-2018 06:06 AM
Thank you for your quick response.
I have tried this. was just checking whether it will work or not.
I commented out "FCTSRCH_GALLERY_VIEW" part. but nothing happened.
There is a property "showMoreInfo" , which calls as an object from "alfresco/search/AlfSearchResult" to show more info from "alfresco/renderers/MoreInfo".
I think I need to extend that, but not able to find a way.
could to please guide me a little more ?
thanks.
10-01-2019 02:33 AM
hided the whole i option.
Explore our Alfresco products with the links below. Use labels to filter content by product module.