[TYPO3-german] Add Wizard ignoriert pid (flexform)

Alex B. info at asphodelos.de
Thu May 25 17:11:26 CEST 2017


Hallo,

ich versuche in einem flexform einen add wizard zu verwenden um Content Elemente (tt_content) zu einem Inhaltselement hinzuzufügen. Dabei möchte ich, dass die dort erstellten Content Elemente in einem sys_ordner abgelegt werden. Dieser Ordner hat die pid 267. Leider scheint der Wizard die Angabe der pid aber zu ignorieren. Statt unter pid 267 werden die Content Elemente immer auf der selben Seite angelegt. Laut https://docs.typo3.org/typo3cms/TCAReference/7.6/AdditionalFeatures/CoreWizardScripts/Index.html#properties sollte eine einfache Angabe eines Intergers möglich sein. 

<ctype.ttcontent>
                <TCEforms>
                    <label>Content Elements</label>
                    <config>
                        <type>inline</type>
                        <minitems>1</minitems>
                        <maxitems>35</maxitems>
                        <foreign_table>tt_content</foreign_table>
                        <foreign_sortby>sorting_foreign</foreign_sortby>
                        <wizards>
                            <_PADDING>2</_PADDING>
                            <_VERTICAL>1</_VERTICAL>
                            <add>
                                <type>script</type>
                                <title>LLL:EXT:cms/locallang_tca.xlf:sys_template.basedOn_add</title>
                                <module type="array">
                                    <name>wizard_add</name>
                                </module>
                                <icon>EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_add.gif</icon>
                                <params type="array">
                                    <table>tt_content</table>
                                    <pid>267</pid>
                                    <setValue>prepend</setValue>
                                </params>
                            </add>
                        </wizards>
                    </config>
                </TCEforms>
            </ctype.ttcontent>


Vielen Dank
Alex


More information about the TYPO3-german mailing list