
The titles for share pages are missing some info:
NextcloudFiles - NextcloudInstead, we should show the actual names, as we also do in the header:
Screenshot from 2018-01-07 00-36-09.png - NextcloudScreenshots - NextcloudIt seems the title has to be passed via PHP or so, so cc @nextcloud/sharing
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 馃檲
Correct me if I'm wrong, but the PHP-function getTitle() has to be changed and the JS-function setPageTitle has to be changed?
has to be changed to use the filename or folder
has to be changed to use the filename or folder instead of files/Files
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?
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 <html> but it isn't.
@MorrisJobke I have no idea! :(
@jancborchardt do not put good first issue on stuff that touches the js from files :grimacing: :stuck_out_tongue_winking_eye:
Moved to 16.
Most helpful comment
I'll take this