need to remove the word alfresco in faceted search page

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
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

3 Replies
Highlighted
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

Regards,
Vidhi | ContCentric
Highlighted
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

Highlighted
Member II

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

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.