12-06-2018 06:22 PM
how to remove the page title prefix:Alfresco in faceted search page
please hlep!
thanks
12-07-2018 12:59 AM
Hi Kavitha,
Create extension module using following way :
1.) Create xml file alfresco\web-extension\site-data\extensions\xxx.xml
<extension>
<modules>
<module>
<id>Extension Module</id>
<auto-deploy>true</auto-deploy>
<evaluator type="default.extensibility.evaluator" />
<customizations>
<customization>
<targetPackageRoot>org.alfresco.share.pages.faceted-search
</targetPackageRoot>
<sourcePackageRoot>org.alfresco.share.pages.faceted-search.customization
</sourcePackageRoot>
</customization>
</customizations>
</module>
</modules>
</extension>
2.) Create js file "faceted-search.get.js" inside alfresco\site-webscripts\org\alfresco\share\pages\faceted-search\customaization\
var pageTitleWidget = widgetUtils.findObject(model.jsonModel.widgets, "id", "HEADER_TITLE");
if (pageTitleWidget != null) {
pageTitleWidget.config.browserTitlePrefix =" Your Title"
}
Thanks,
Vidhi
12-07-2018 01:17 PM
Hi Vidhi
Thanks a lot for your reply! it worked
thanks
Kavitha
04-29-2020 04:52 PM
Hi
I need to remove existing placeholder i.e "Search pages,people,sites" from search box of faceted search.
Can you please help.
Thank you in advance.
Explore our Alfresco products with the links below. Use labels to filter content by product module.