Feature #18957
closedFlexforms & IRRE doesn't work
100%
Description
I wonder if nobody ever tried it but I really would like to get IRRE inside of flexforms working! The only problem: It doesn't ;)
flexform_ds.xml
<foo>
<TCEforms>
<label>foo</label>
<config>
<type>inline</type>
<foreign_table>tt_content</foreign_table>
<maxitems>5</maxitems>
</config>
</TCEforms>
</foo>
and the Create new comes up and if I click on it, I get also something back: an empty gray bar which is not clickable and a trash icon at the right side.
It seems that it is getting initialized but with too less information.
IMO this feature would be very nice because there would be no need in many extensions to create records and so on in page/list view first.
I could also sponsor it a bit
(issue imported from #M8711)
Updated by Stefan Froemken over 15 years ago
Hi Georg,
I just have the same problem. Grey bar, trashicon on the right and my inputfields will not appear. My version: TYPO3 4.2.6
Updated by Stefan Froemken over 15 years ago
I changed "function createNewRecord to:
function createNewRecord($domObjectId, $foreignUid = 0) {
// the current table - for this table we should add/import records
$current = $this->inlineStructure['unstable'];
// the parent table - this table embeds the current table
$parent = $this->getStructureLevel(-1);
$jsonArray = array(
'data' => $parent,
'scriptCall' => array(
"alert('".$parent."');",
)
);
return $jsonArray;
So now I can see what $parent will return.
In a FlexForm: $parent will return tx_sftest_flex
In my inline-field: $parent will return tx_sftest_style
So the problem is the wrong field tx_sftest_flex, because in field flex could be more than 1 entry and it is filled with XML.
For now I think, TYPE: inline can't interprete XML-Structures.
Updated by Björn Pedersen almost 15 years ago
seems to be related to http://bugs.typo3.org/view.php?id=10963
Updated by Stephan Petzl over 14 years ago
same problem here. would be great usabillity improvement to have this feature!
Updated by most wanted over 12 years ago
- Target version deleted (
0)
is this still a missing feature?
Updated by most wanted over 12 years ago
Updated by Max Roesch over 12 years ago
Just happend to run into the same problem. I have a simple extbase extension with central stored records, which should be generated by a plugin with flexform irre configuration. Didn't find a way till now.
Updated by most wanted over 12 years ago
exactly. this would be a very helpful feature.
how complicated would this be to implement? if somebody experienced could guide me a little bit i would try to implement the feature...
Updated by Kai Vogel over 12 years ago
- Assignee set to Kai Vogel
I'm currently working on this ticket. The current status is as follows:
- Display IRRE field in FlexForm (ok)
- Add IRRE records (ok)
- Remove records (ok)
- Drag & drop (ok)
- Move up and down via arrows (ok)
- Required check (ok)
- Hide / unhide (ok)
- Label field content as title (ok)
- Store IDs into FlexForm-XML (ok)
- Read IDs from FlexForm-XML (ok)
- Testing and bugfixing (ok)
Updated by Gerrit Code Review over 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968
Updated by Gerrit Code Review over 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968
Updated by Gerrit Code Review over 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968
Updated by Gerrit Code Review over 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968
Updated by Gerrit Code Review over 12 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968
Updated by Gerrit Code Review over 12 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968
Updated by Gerrit Code Review about 12 years ago
Patch set 7 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968
Updated by Gerrit Code Review about 12 years ago
Patch set 8 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968
Updated by Gerrit Code Review about 12 years ago
Patch set 9 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968
Updated by Gerrit Code Review about 12 years ago
Patch set 10 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968
Updated by Anonymous about 12 years ago
I used this FF for imagecycle, this works great:
<imagesRTE> <tx_templavoila> <title>LLL:EXT:imagecycle/locallang_db.xml:tt_content.pi_flexform.uploadRTE</title> </tx_templavoila> <type>array</type> <section>1</section> <el> <data> <type>array</type> <el> <image> <TCEforms> <label>LLL:EXT:imagecycle/locallang_db.xml:tt_content.pi_flexform.image</label> <config> <type>group</type> <internal_type>file</internal_type> <allowed>files</allowed> <size>1</size> <maxitems>1</maxitems> <minitems>0</minitems> <show_thumbs>1</show_thumbs> <allowed>gif,jpg,jpeg,png</allowed> <max_size>10240</max_size> <uploadfolder>uploads/tx_imagecycle</uploadfolder> </config> </TCEforms> </image> <href> <TCEforms> <label>LLL:EXT:imagecycle/locallang_db.xml:tt_content.pi_flexform.href</label> <config> <type>input</type> <size>15</size> <max>255</max> <eval>trim</eval> <wizards> <_PADDING>2</_PADDING> <link> <type>popup</type> <title>Link</title> <icon>link_popup.gif</icon> <script>browse_links.php?mode=wizard</script> <JSopenParams>height=500,width=500,status=0,menubar=0,scrollbars=1</JSopenParams> </link> </wizards> </config> </TCEforms> </href> <caption> <TCEforms> <label>LLL:EXT:imagecycle/locallang_db.xml:tt_content.pi_flexform.caption</label> <config> <type>text</type> <cols>30</cols> <rows>5</rows> </config> <defaultExtras>richtext[]:rte_transform[mode=ts_css]</defaultExtras> </TCEforms> </caption> </el> </data> </el> </imagesRTE>
Updated by Anonymous about 12 years ago
Sorry, I dont use tt_content, so forget my post...
Juergen Furrer wrote:
I used this FF for imagecycle, this works great:
[...]
Updated by Gerrit Code Review about 12 years ago
Patch set 11 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968
Updated by Gerrit Code Review about 12 years ago
Patch set 12 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968
Updated by Gerrit Code Review about 12 years ago
Patch set 13 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968
Updated by Kai Vogel about 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 6ab0f6aa36cade26e25bea7e9d89b552318a5062.