Task #44340: Improve UI
Integration of CSH-File ominous
|Priority:||Should have||Due date:|
|Assignee:||Stefan Froemken||% Done:||
|Category:||Layout and UI||Spent time:||-|
|TYPO3 Version:||4.5||PHP Version:|
First the good message:
After hours of researching how to integrate the flexform CSH-File into gridelement setup I found the solution.
The key will be: tt_content.pi_flexform..gridelements_pi1
t3lib_extMgm::addLLrefForTCAdescr('tt_content.pi_flexform..gridelements_pi1', 'EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_csh.xlf');
Now you will see the problem. I think here is something missing. But I don't know where to set it.
The missing part of the key will be the field "list_type". The key parts are:
[table].[field].[value of list_type].[value of CType]
The value of the field "list_type" is empty.
This will be parsed from the var
(t3lib/class.t3lib_tceforms.php line 2563)
But if you change this var the form is broken.
Any ideas? Or can this be ignored? I think this don't looks good ;)
Updated by Jo Hasenau 11 months ago
- Category set to Layout and UI
- Status changed from New to Under Review
- Assignee set to Jo Hasenau
Updated by Stefan Froemken 5 months ago
- Status changed from Under Review to Resolved
- Assignee changed from Jo Hasenau to Stefan Froemken
- % Done changed from 0 to 100
gridelements is registered as a content element not as a plugin. In normal cases the flexform feature is used only by plugins and in that case you can add csh features that way (excample):
Where "list" is the indicator for a registered plugin.
Content elements don't make use of pi_flexform. But to give you a pretty cool feature gridelements use it nevertheless. So it is absolutely ok to use this special syntax: