Project

General

Profile

Actions

Bug #45125

closed

Hide "Create new relation" for FAL fields, if maxitems = 1 and an image is selected

Added by Tobias Klepp about 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2013-02-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

It would be a better useability, if the link "Create new relation" hide, when an image is selected and only one image is allowed.

I have the following code in my TCA definition:

'image' => array(
'exclude' => 1,
'label' => 'LLL:EXT:my_extkey/Resources/Private/Language/locallang_db.xlf:tx_myextkey_domain_model_tablename.image',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('media', array('maxitems' => 1))
),


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #61031: Implement flash message warning when max number of items is reached in IRRE fieldClosedNikola Stojiljković2014-08-18

Actions
Related to TYPO3 Core - Bug #77972: Missing upload buttons in inline fieldClosed2016-09-16

Actions
Actions

Also available in: Atom PDF