Feature #24131
closedtcaTree should work in flexforms too
0%
Description
It would be very nice if the tcatree would work inside the flexforms too. IMO every tca configuration should work there as well to use the benefits of such great tools.
thrown error: #2177015888: TCA Tree configuration is invalid: "foreign_table" not set
my demo example:
-----------------------
<settings.category>
<TCEforms>
<label>LLL:EXT:news2/Resources/Private/Language/locallang.xml:flexforms_general.category</label>
<config>
<type>select</type>
<renderMode>tree</renderMode>
<treeConfig>
<parentField>parentcategory</parentField>
<appearance>
<expandAll>1</expandAll>
<showHeader>0</showHeader>
</appearance>
</treeConfig>
<foreign_table>tx_news2_domain_model_category</foreign_table>
<foreign_table_where> AND tx_news2_domain_model_category.uid > 0</foreign_table_where>
<size>5</size>
<autoSizeMax>10</autoSizeMax>
<minitems>0</minitems>
<maxitems>10</maxitems>
</config>
</TCEforms>
</settings.category>
(issue imported from #M16476)
Updated by Steffen Ritter about 14 years ago
I consider this to be a bug, since TCA should automatically work in flexforms.
Would be nice I you could provide the news Extension Prototype, the snippet is extracted from, for testing
Updated by Georg Ringer about 14 years ago
https://svn.typo3.org/TYPO3v4/Extensions/news2/ ;) i removed the flexform configuration of the tcatree but this shouldnt be a problem to add it again for you i guess