how to remove the page title prefix:Alfresco in faceted search page
please hlep!
thanks
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
Hi Vidhi
Thanks a lot for your reply! it worked
thanks
Kavitha
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.
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.