cancel
Showing results for 
Search instead for 
Did you mean: 

Need to change icon tooltips

mpb
Champ in-the-making
Champ in-the-making
I'm new to Alfresco configuration, so bear with me. I've searched for an answer to this, but nothing I've found works.

I want to change the tooltips (the text that pops up when I hover over the icons) for the document icons, e.g., the icons for edit-online, edit-offline, download. These strings are defined in the file documentlist.get.properties. If I change this file itself, my new strings are shown. The strings that I want to change are:
actions.document.download
actions.document.edit-offline
actions.document.edit-online

However, I'd rather make this change as an extension for maintainability reasons.

I've followed posted directions on adding property strings and added the file webclient.properties and in it defined my new text strings, using the same property names as above. I've placed the file in $ALFRESCO_HOME/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/extension.

When I start the Alfresco server, with some debugging turned on, I see the message:
           Located and loaded bundle alfresco.extension.webclient
I *think* this means my strings were loaded. Right?

In any case, my new property strings are not displayed when I hover over the icons.

Any suggestions?
7 REPLIES 7

tejaswini
Champ in-the-making
Champ in-the-making
hello…
   have u solved the problem????
   i am also trying to do some customizations. and want to do something like u only…. so do i have to write the .properties file or i have to change or add i the same .properties file? if i have to write new file then what the file name will be and that time all the previous properties will be available to me or not???
   thanks in advance.

mpb
Champ in-the-making
Champ in-the-making
No, I haven't solved the problem yet.

I was hoping to hear from someone with experience customizing Alfresco on this forum, but … not yet.

zaizi
Champ in-the-making
Champ in-the-making
That is how you do it for normal bundles. The tool tips are included in the documentlist.get.properties webscript. Thus, you'll need to follow the process for extending web-extention web script and copy the properties file into it.

mpb
Champ in-the-making
Champ in-the-making
Thank you for the information.

For now, I'll wait on creating a webscript just to change the tooltips. Seems like a lot of work for not much value-added.

mikeh
Star Contributor
Star Contributor
Those messages live within the Share application, not the Explorer (/alfresco) application. Therefore, you need to put the updated file into $ALFRESCO_HOME/tomcat/shared/classes/alfresco/web-extension/org/alfresco/site-webscripts/components/documentlibrary

Thanks,
Mike

mpb
Champ in-the-making
Champ in-the-making
Thanks for the suggestion.

I tried it out. I put my changed tooltips in the file $ALFRESCO_HOME/tomcat/shared/classes/alfresco/web-extension/org/alfresco/site-webscripts/components/documentlibrary, then restarted Alfresco.

No luck. The original tooltips were still shown.

Is there some other change I need to make?

mikeh
Star Contributor
Star Contributor
Check the notes here if you're using Tomcat 6: http://wiki.alfresco.com/wiki/Install_Tomcat6

Thanks,
Mike