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.
Solved! Go to Solution.
hided the whole i option.
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.
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.
hided the whole i option.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.