cancel
Showing results for 
Search instead for 
Did you mean: 

Show filename or sitename in Page title (tab in browser)

j_ashton
Champ in-the-making
Champ in-the-making

Dear community,

i've searched a little around this topic and have found the slingshot file that stores some values to change the title of pages.

However, i havent found a way to dynamically show the filename in the page title. It's a problem because if you have 10 tabs with documents opened it shows "Alfresco > Document Details" so i becomes a nightmare to switch between documents and find the document you want to display.

Do you know if there's a way to show the filename in the Page title ?


Thanks in advance,

1 ACCEPTED ANSWER

angelborroy
Community Manager Community Manager
Community Manager

That could be hard to implement.

Page title is set in the following FTL component:

https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/site-webscripts/org/...

For a document detail, the title is set by using some internal logic:

https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/site-data/template-i...

You should modify the componentes in order to get the title of the document in Document Details Freemarker component.

Hyland Developer Evangelist

View answer in original post

3 REPLIES 3

EddieMay
World-Class Innovator
World-Class Innovator

Hi @j_ashton,

Could you provide a screenshot of what the current situation is? 

Thanks, 

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!

j_ashton
Champ in-the-making
Champ in-the-making

EddieMay,

here is an example : https://imgur.com/a/jXPBN8k

I've opened a few directories in tabs but it's impossible to differentiate between folders

Thanks,

angelborroy
Community Manager Community Manager
Community Manager

That could be hard to implement.

Page title is set in the following FTL component:

https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/site-webscripts/org/...

For a document detail, the title is set by using some internal logic:

https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/site-data/template-i...

You should modify the componentes in order to get the title of the document in Document Details Freemarker component.

Hyland Developer Evangelist