Project

General

Profile

Actions

Bug #78900

closed

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

Added by Andrea Lara almost 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Fluid Styled Content
Target version:
-
Start date:
2016-12-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
file collection, metadata
Complexity:
Is Regression:
No
Sprint Focus:

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.


Files

filecollection_be.png (7.71 KB) filecollection_be.png Andrea Lara, 2016-12-06 19:33
filecollection_fe.png (14.1 KB) filecollection_fe.png Andrea Lara, 2016-12-06 19:33
filecollection_file.png (15.3 KB) filecollection_file.png Andrea Lara, 2016-12-06 19:33
Actions

Also available in: Atom PDF