how to customize alfresco favicon and name

cancel
Showing results for 
Search instead for 
Did you mean: 
kzala7
Active Member II

how to customize alfresco favicon and name

Hi,

I'm not able to do change favicon and name in alfresco share 5.2 community edition from past 2 days I was doing R&D on it.

I found file resource.get.html.ftl 

when I tried to do so I only managed in doing favicon but how should I replace or change name in address bar

please guide me to this point.

thanks,

Kalpesh

3 Replies
sanjaybandhniya
Intermediate

Re: how to customize alfresco favicon and name

Ther than Search Page
The easiest way is to modify page.title property in
<SHARE_HOME>/WEB-INF/classes/alfresco/messages/slingshot_xx.properties.
A better solution is to override the default message bundle.


Search Page title change.
alfresco\tomcat\webapps\share\WEB-INF\classes\alfresco\web-extension\site-webscripts\com\quanticate\header\faceted-search.get.js

code inside faceted-search.get.js

var pageTitleWidget = widgetUtils.findObject(model.jsonModel.widgets, "id", "HEADER_TITLE");
if(pageTitleWidget != null){
pageTitleWidget.config.browserTitlePrefix = msg.get("faceted.search.page.custom.title.prefix");
}


alfresco\tomcat\webapps\share\WEB-INF\classes\alfresco\web-extension\site-data\extensions\extension-custom-modules.xml

<extension>
<modules>
<module>
<id>Faceted-Search-Customisation</id>
<auto-deploy>true</auto-deploy>
<evaluator type="default.extensibility.evaluator"/>
<customizations>
<customization>
<targetPackageRoot>org.alfresco.share.pages.faceted-search</targetPackageRoot>
<sourcePackageRoot>com.someFolder.header</sourcePackageRoot>
<alwaysApply>
<webscript>faceted-search</webscript>
</alwaysApply>
</customization>
</customizations>
</module>
</modules>
</extension>

Thanks,

Sanjay

kzala7
Active Member II

Re: how to customize alfresco favicon and name

thanks Sanjay 

kzala7
Active Member II

Re: how to customize alfresco favicon and name

i don't have to keep favicon for that i have remove favicon.ico path  in resource.get.html.ftl

when main title page loads it shows favicon and when i login favicon i not there so after login only favicon is hide.

how can i remove from title page?

thanks,

Kalpesh