Bug #37999
Task #44340: Improve UI
Integration of CSH-File ominous
| Status: | Resolved | Start date: | 2012-06-13 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Stefan Froemken | % Done: | 100% |
|
| Category: | Layout and UI | Spent time: | - | |
| Target version: | - | |||
| TYPO3 Version: | 4.5 | PHP Version: | ||
| Votes: | 0 |
Description
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
$GLOBALS['TCA'][$table]['columns'][$field]['config']['ds_pointerField']
(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 ;)
History
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 Jo Hasenau 5 months ago
- TYPO3 Version set to 4.5
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
Hello Arno,
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):
tt_content.pi_flexform.comments_pi1.list
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:
tt_content.pi_flexform..gridelements_pi1
Stefan
Updated by Jo Hasenau 5 months ago
- Parent task set to #44340