cancel
Showing results for 
Search instead for 
Did you mean: 

Show the title instead of name?

hienque
Champ in-the-making
Champ in-the-making
Hi everyone,
I want show the Title instead file name when open a Folder . How can I Configure? Thank you.
1 REPLY 1

kamielvdz
Champ in-the-making
Champ in-the-making
Try extending or overwriting documentlist-view-detailed.js in /components/documentlibrary . Inside you'll find a function named renderCellDescription . This creates the link you click.

You could change this to (example using Alfresco v 4.2.c):


desc += $html(record.displayName) + '</a></span>' + titleHTML + version + '</h3>';


to


desc += titleHTML  + '</a></span></h3>';


Do not forget the case where you do not have a title.