Actions
Bug #77896
closedFSC Uploads target="_blank" didn't work
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-09-09
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
TYPO3: 7.6.10
If target="_blank" ist selected in options the attribute isn't available in Fluid Template uploads.html
Should be something like that:
<f:if condition="{data.target}"> <f:then> <a href="{file.publicUrl}" target="_blank"> </f:then> <f:else> <a href="{file.publicUrl}"> </f:else> </f:if>
Updated by Riccardo De Contardi about 8 years ago
Maybe it's better:
<f:if condition="{data.target}"> <f:then> <a href="{file.publicUrl}" target="{data.target}"> </f:then> <f:else> <a href="{file.publicUrl}"> </f:else> </f:if>
or
<a href="{file.publicUrl}" {f:if(condition:data.target , then: 'target=\"{data.target}\"')} >
(I don't know if this one is fully correct, I wrote in a hurry)
Updated by Wouter Wolters about 8 years ago
- Assignee deleted (
Gianluigi Martino)
Updated by Gerrit Code Review about 8 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49937
Updated by Gerrit Code Review about 8 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49937
Updated by Gerrit Code Review about 8 years ago
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49987
Updated by Georg Ringer about 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c86297fbbc5445498807f01c973ad47d273421a1.
Actions