12-23-2018 04:25 AM
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
12-23-2018 05:51 AM
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
12-23-2018 07:22 PM
thanks Sanjay
12-23-2018 08:21 PM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.