cancel
Showing results for 
Search instead for 
Did you mean: 

Change the Page title of alfresco 5.0

sanketgosavi
Champ in-the-making
Champ in-the-making
Hi,

I've changed the title of page title of Alfresco to custom name
from file
webapps\share\WEB-INF\classes\alfresco\web-extension\messages\slingshot_en.properties

But i still see the 'Alfresco' title on the search page.

The title got changed on other pages but it is unchanged on the search page.

Is it because faceted search in Alfresco 5.0 as it is working fine on Alfresco 4.2 ?
7 REPLIES 7

angelborroy
Community Manager Community Manager
Community Manager
aikau pages, such as faceted search, has its own resources because the whole page is served by aikau. You can find messages (including page title) side by side JS aikau view, in this case:
/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/share/pages/faceted-search/faceted-search-config.get_en.properties
Hyland Developer Evangelist

alahwany
Champ in-the-making
Champ in-the-making
Hello,

dear eng. Angel Borroy i saw this file and edit it but i didn't found any code to change the title
alfresco >> search

is there any files like slingshot_en.properties can be change this title ?

thanks

angelborroy
Community Manager Community Manager
Community Manager
faceted-search-config.page.title
Hyland Developer Evangelist

alahwany
Champ in-the-making
Champ in-the-making
please tell me where is this file ? becasue i have searched it and i didn't found it !!

also how to change the footer for the search page ? i have changed all footer for other pages but the search page didn't changed !!

so where is the footer for search page ? and where is the file for title for the search page ?

can you tell me the path?

i have alfresco 5.0.d last version of community

doudou225
Champ in-the-making
Champ in-the-making
As for the footer, i have created a AMP to hide it (email at nal225@yahoo.fr so that i will send it to you for free). But still cant change the page title and the favicon. Title=Alfresco and favicon=alfresco favicon.

Fisrt thank you Angel Borroy for your work here (https://angelborroy.wordpress.com/2015/04/24/customizing-alfresco-for-demo-purposes/) which helped me create an AMP to hide the footer of aikau search page. But still cant get to change the page title (Alfresco) and the favicon images of the same search page. The files you specified above cannot change them.
Alfresco 5.0.d

manjrak
Champ on-the-rise
Champ on-the-rise
Hi, doudou225

this is for changing the page title

Path
C:\Alfresco5.0.2\tomcat\webapps\share\WEB-INF\classes\alfresco\web-extension\site-webscripts\com\quanticate\header\faceted-search.get.js

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



XML path
C:\Alfresco5.0.2\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>


I hope this helps you, let me know if you need more help