schumiel
schumiel

Reputation: 51

TYPO3 TCA categories and FAL

I would like to illustrate the following in the TCA of TYPO3 v9.5.5

--- FAL 1

--- FAL 2

--- FAL 3

--- FAL 1

--- FAL 2

I find it hard to find an approach. I am relatively new to TYPO3. About "type = inline" does not work, because the SELECT fields should be. I do not want a ready-made solution, just approaches. Happy with links to documentaries or sources.

Upvotes: 1

Views: 190

Answers (1)

Aristeidis Karavas
Aristeidis Karavas

Reputation: 1956

According to your answer on my comment what you need is the following:

'yourField' => [
   'exclude' => true,
    'label' => 'LLL:EXT:yourExtension/Resources/Private/Language/locallang_db.xlf:yourfield',
        'config' => [
            'type' => 'select',
            'renderType' => 'selectMultipleSideBySide',
            'foreign_table' => 'nameofpdftables',
            'MM' => 'nameofthe_relation_mm',
        ],
    ],

If you created the extension with Extension manager, then the mm table should automatically be there. Then you will see the pdfs that belong to this field.

Upvotes: 0

Related Questions