Project

General

Profile

Actions

Feature #18957

closed

Flexforms & IRRE doesn't work

Added by Georg Ringer over 16 years ago. Updated about 6 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 3 (0 open3 closed)

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
Actions #1

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

Actions #2

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.

Actions #4

Updated by Stephan Petzl over 14 years ago

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

Actions #5

Updated by most wanted over 12 years ago

  • Target version deleted (0)

is this still a missing feature?

Actions #7

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.

Actions #8

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...

Actions #9

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)

Actions #10

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

Actions #11

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

Actions #12

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

Actions #13

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

Actions #14

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

Actions #15

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

Actions #16

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

Actions #17

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

Actions #18

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

Actions #19

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

Actions #20

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>

Actions #21

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:
[...]

Actions #22

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

Actions #23

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

Actions #24

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

Actions #25

Updated by Kai Vogel about 12 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF