cancel
Showing results for 
Search instead for 
Did you mean: 

need to remove the word alfresco in faceted search page

kk2018
Champ in-the-making
Champ in-the-making

how to remove the page title prefix:Alfresco in faceted search page

please hlep!

thanks

3 REPLIES 3

vidhipanchal
Star Contributor
Star Contributor

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

Contcentric

Regards,
Vidhi

kk2018
Champ in-the-making
Champ in-the-making

Hi Vidhi

Thanks a lot for your reply! it worked Smiley Happy

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.