Issue Bug Closed

#78900FSC Uploads: The file title won't show, if you're are using a file collection "folder from Storage". Works with static files.

Andrea Lara 12/06/16, 19:33 updated 10/02/18, 11:04

Description

Hi there.

Before you change the title from your uploaded file from “strange_name.pdf” to “datasheet_dezember”.

If you’re using ‘file links’ with a ‘file collection’ (via fluid styled content) the file will show in frontend with the title. Everthing is fine.

...
<f:if condition="{file.title}">
  <f:then>
    {file.title} 
  </f:then>
  <f:else>
    {file.name} 
  </f:else>
</f:if>
...

But if you’re using a file collection “folder from storrage”, the file name is showing, not the file title!

I’ve tested it with two different TYPO3-Projects, both 7.6.14.
See my screenshots for more details.

Thanks for your help.

Reviews 1