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

cancel
Showing results for 
Search instead for 
Did you mean: 
j_ashton
Member II

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

Jump to solution

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 Solution

Accepted Solutions
angelborroy
Alfresco Employee

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

Jump to solution

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.

Software Engineer in Alfresco Search Team.

View solution in original post

3 Replies
EddieMay
Community Manager
Community Manager

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

Jump to solution

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!
angelborroy
Alfresco Employee

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

Jump to solution

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.

Software Engineer in Alfresco Search Team.

View solution in original post

j_ashton
Member II

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

Jump to solution

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,