-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Titles for share pages are not specific #11506
Comments
I'll take this |
Where can I find the php-file where this has to be changed? |
Sadly this is partly done in PHP and then also in JS afterwards 🙈 PHP: server/core/templates/layout.base.php Line 6 in b4ea19c
JS: server/apps/files/js/filelist.js Lines 976 to 987 in dccd04e
|
Correct me if I'm wrong, but the PHP-function getTitle() has to be changed and the JS-function setPageTitle has to be changed? If so: server/apps/theming/lib/ThemingDefaults.php Line 129 in 893d2da
has to be changed to use the filename or folder JS: server/apps/files/js/filelist.js Line 47 in 893d2da
has to be changed to use the filename or folder instead of files/Files |
I would just change the JS side for now. This should be enough. |
Okay, but how can I get the filename/folder? In the screenshot I see the string (fileId?), but how can I convert that to the filename/folder? |
Good question. Maybe @skjnldsv has an idea. I thought it is in the data attributes of |
@MorrisJobke I have no idea! :( |
Moved to 16. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Still an issue at 25.0.4. when sharing the folder or file, the people received my sharing links in what's app or other chat platform doesn't show the title |
Unclear if this is related... Sharing files/documents and then opening via Community Document Server/OnlyOffice/pdfviewer/etc. does not properly update As a result, analytics are not accurate. |
The titles for share pages are missing some info:
Nextcloud
Files - Nextcloud
Instead, we should show the actual names, as we also do in the header:
Screenshot from 2018-01-07 00-36-09.png - Nextcloud
Screenshots - Nextcloud
It seems the title has to be passed via PHP or so, so cc @nextcloud/sharing
The text was updated successfully, but these errors were encountered: