Feature #78619

Epic #83669: Improve file list / file browser

Filename-length in tree changeable

Added by Mike Streibl over 5 years ago. Updated about 3 years ago.

Could have
File Abstraction Layer (FAL)
Target version:
Start date:
Due date:
% Done:


Estimated time:
PHP Version:
Sprint Focus:


The filename length is hard-coded in the Template.
This could be changeable in the installtool-settings.

At the moment it is:

{file.name->f:format.crop( maxCharacters:30 )}


Updated by Mike Streibl over 5 years ago

The value is in typo3/sysext/filelist/Classes/FileList.php:

     * Max length of strings
     * @var int
    public $fixedL = 30;

and in typo3/sysext/filelist/Resources/Private/Templates/FileList/Search.html:

{file.name->f:format.crop( maxCharacters:30 )}


Updated by Mike Streibl over 5 years ago

I think it would be better, to use css (text-overflow: ellipsis) for that.


Updated by Riccardo De Contardi about 5 years ago

On latest master (8.7.1-dev):

- typo3/sysext/filelist/Classes/FileList.php still contains the lines cited on the previous comment

- ypo3/sysext/filelist/Resources/Private/Templates/FileList/Search.html has no more the f:format.crop viewhelper


Updated by Riccardo De Contardi over 4 years ago

  • Parent task set to #83669

Updated by Susanne Moog about 3 years ago

  • Status changed from New to Closed

It's not hardcoded in either place anymore - in Search as Riccardo already noted the crop is gone, in the FileList itself the 30 is the fallback if it's not configured in the user settings to a different value. Every user can configure the length as to her preferences in the user settings (title length).

Also available in: Atom PDF