Feature #18957

Flexforms & IRRE doesn't work

Added by Georg Ringer almost 13 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2008-06-14
Due date:
% Done:

100%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

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>

&lt;/config&gt;
&lt;/TCEforms&gt;
&lt;/foo&gt;

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)


Related issues

Related to TYPO3 Core - Bug #58307: Temporary id for inline records in flexforms seems to be persisting too long.ClosedOliver Hader2014-04-29

Actions
Has duplicate TYPO3 Core - Bug #20344: IRRE doesn't work in relationship with flexformsClosedSteffen Gebert2009-04-22

Actions
Has duplicate TYPO3 Core - Bug #17342: IRRE via flex form.Closed2007-05-30

Actions
#1

Updated by Stefan Froemken about 12 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

#2

Updated by Stefan Froemken about 12 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.

#4

Updated by Stephan Petzl about 11 years ago

same problem here. would be great usabillity improvement to have this feature!

#5

Updated by most wanted almost 9 years ago

  • Target version deleted (0)

is this still a missing feature?

#7

Updated by Max Roesch almost 9 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.

#8

Updated by most wanted almost 9 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...

#9

Updated by Kai Vogel almost 9 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)

#10

Updated by Gerrit Code Review almost 9 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

#11

Updated by Gerrit Code Review almost 9 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968

#12

Updated by Gerrit Code Review almost 9 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968

#13

Updated by Gerrit Code Review almost 9 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968

#14

Updated by Gerrit Code Review almost 9 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968

#15

Updated by Gerrit Code Review almost 9 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968

#16

Updated by Gerrit Code Review almost 9 years ago

Patch set 7 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968

#17

Updated by Gerrit Code Review almost 9 years ago

Patch set 8 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968

#18

Updated by Gerrit Code Review almost 9 years ago

Patch set 9 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968

#19

Updated by Gerrit Code Review over 8 years ago

Patch set 10 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968

#20

Updated by Anonymous over 8 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>

#21

Updated by Anonymous over 8 years ago

Sorry, I dont use tt_content, so forget my post...

Juergen Furrer wrote:

I used this FF for imagecycle, this works great:
[...]

#22

Updated by Gerrit Code Review over 8 years ago

Patch set 11 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968

#23

Updated by Gerrit Code Review over 8 years ago

Patch set 12 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968

#24

Updated by Gerrit Code Review over 8 years ago

Patch set 13 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13968

#25

Updated by Kai Vogel over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#26

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF