-
-
Notifications
You must be signed in to change notification settings - Fork 215
Open
Labels
Description
Bug Report
Prerequisites
- Can you reproduce the problem on TYPO3 v11.5 LTS
- Can you reproduce the problem on TYPO3 v12.4 LTS
- Can you reproduce the problem on TYPO3 v13.4 LTS
- Did you perform a cursory search
to see if your bug or enhancement is already reported?
Description
When adding a PDF file to tx_bootstrappackage_tab_item's media field the link field is not showing up so it's impossible to add a link an PDF file.
The issue seems to be in Configuration/TCA/tx_bootstrappackage_tab_item.php, ['columns']['media']['overrideChildTca'] only checking for types \TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE and \TYPO3\CMS\Core\Resource\File::FILETYPE_VIDEO.
Adding
\TYPO3\CMS\Core\Resource\File::FILETYPE_APPLICATION => [
'showitem' => '
--palette--;;extendedBasicOverlayPalette,
--palette--;;filePalette',
],
fixed the issue for me. Consider adding \TYPO3\CMS\Core\Resource\File::FILETYPE_TEXT or \TYPO3\CMS\Core\Resource\File::FILETYPE_UNKNOWN so these can be linked too.
Steps to Reproduce
- Create a
Tabcontent element. - Add a new tab item.
- Add a PDF file to the
mediafield.
Expected behavior
link field showing.
Actual behavior
No link field showing.
Screenshots
Versions
15.0.4
Reactions are currently unavailable