[英]TYPO3 TCA categories and FAL
I would like to illustrate the following in the TCA of TYPO3 v9.5.5 我想在TYPO3 v9.5.5的TCA中说明以下内容
--- FAL 1 -FAL 1
--- FAL 2 -FAL 2
--- FAL 3 -FAL 3
--- FAL 1 -FAL 1
--- FAL 2 -FAL 2
I find it hard to find an approach. 我发现很难找到一种方法。 I am relatively new to TYPO3.
我是TYPO3的新手。 About "type = inline" does not work, because the SELECT fields should be.
关于“类型=内联”不起作用,因为应该使用SELECT字段。 I do not want a ready-made solution, just approaches.
我不希望有现成的解决方案,而只是想办法。 Happy with links to documentaries or sources.
满意纪录片或资料来源的链接。
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. 如果使用扩展管理器创建了扩展,则mm表应自动存在。 Then you will see the pdfs that belong to this field.
然后,您将看到属于该字段的pdf。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.