cancel
Showing results for 
Search instead for 
Did you mean: 

Customize head menu

bily
Champ in-the-making
Champ in-the-making
Hello everyone,

I am a beginner with Alfresco and I am doing tests to customize Alfresco.
I would like to change titles of the head menu like: My dashboard, My tasks, Sites, People.

I have read about alfresco without finding this exact problem.
I read that I had to edit files like this one: components/title/user-dashboard-title.get_fr.properties,
it allows me to change some words. But I didn't find any file in "component" refering to the head-menu.

I don't know if I am in the good section of the forum, so forgive me & my english.

Ask if you need any information.
Thank you.
2 REPLIES 2

jonash
Champ in-the-making
Champ in-the-making
Hi,

The Share header can be customized in share-config-custom.xml

This is the default configuration:

   <!– Global config section –>
   <config>
      …. <!– flags –>
     
      <header>
         <app-items>
            <!– defaults: icon="{id}.png" label="header.{id}.label" description="header.{id}.description" –>
            <item type="link" id="my-dashboard">{userdashboardpage}</item>
            <item type="js" id="sites">Alfresco.module.Sites</item>
            <item type="link" id="people">/people-finder</item>
            <item type="link" id="repository" condition="conditionRepositoryRootNode">/repository</item>
            <item type="container" id="more">
               <container-group id="my">
                  <item type="link" id="my-tasks">/my-tasks#filter=workflows|active</item>
                  <item type="link" id="my-workflows">/my-workflows#filter=workflows|active</item>
                  <item type="link" id="my-content">/user/user-content</item>
                  <item type="link" id="my-sites">/user/user-sites</item>
                  <item type="link" id="my-profile">{userprofilepage}</item>
               </container-group>
               <container-group id="tools" permission="admin">
                  <item type="link" id="application">/console/admin-console/application</item>
                  <item type="link" id="groups">/console/admin-console/groups</item>
                  <item type="link" id="replication-jobs" condition="!conditionEditionTeam">/console/admin-console/replication-jobs</item>
                  <item type="link" id="repository">/console/admin-console/repository</item>
                  <item type="link" id="trashcan">/console/admin-console/trashcan</item>
                  <item type="link" id="users">/console/admin-console/users</item>
                  <item type="link" id="more">/console/admin-console/</item>
               </container-group>
            </item>
         </app-items>
         <user-items>
            <item type="container" id="user" icon="" description="">
               <container-group id="usermenu" label="">
                  <item type="user" id="status">{userprofilepage}</item>
                  <item type="link" id="my-profile">{userprofilepage}</item>
                  <item type="link" id="change-password" condition="user.capabilities.isMutable">/user/change-password</item>
                  <item type="external-link" id="help">{share-help}</item>
                  <item type="link" id="logout" condition="!context.externalAuthentication">/dologout</item>
               </container-group>
            </item>
         </user-items>
         <dependencies>
            <css src="/modules/create-site.css" />
            <css src="/modules/header/sites.css" />
            <js src="/modules/create-site.js" />
            <js src="/modules/header/sites.js" />
         </dependencies>
      </header>
   </config>

If you just want to change the labels you can also override the strings in the .properties files. The properties used for the label and description are "header.<id>.label" and "header.<id>.description" respectively. For example:


header.my-dashboard.label=My Dashboard
header.my-dashboard.description=My Dashboard

romhein
Champ in-the-making
Champ in-the-making
Tanks for your answer JonasH