need to remove the word alfresco in faceted search page

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
kk2018
Member II

need to remove the word alfresco in faceted search page

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

please hlep!

thanks

2 Replies
vidhipanchal
Established Member

Re: need to remove the word alfresco in faceted search page

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

kk2018
Member II

Re: need to remove the word alfresco in faceted search page

Hi Vidhi

Thanks a lot for your reply! it worked Smiley Happy

thanks

Kavitha