typo3 flexform html内容元素添加扩展名

时间:2016-01-29 03:46:24

标签: typo3 fluid extbase typo3-6.2.x

我怎么能在typo3中的flexform中添加html内容元素。 我试过了

<settings.sDEF1.sociallinks>
                                        <TCEforms>
                                            <exclude>1</exclude>
                                            <label>Social Links</label>
                                            <config>
                                                <type>text</type>
                                                <renderType>t3editor</renderType>
                                                <format>html</format>
                                                <cols>30</cols>
                                                <rows>5</rows>
                                            </config>
                                        </TCEforms>
                    </settings.sDEF1.sociallinks> 

不能正常工作。

参考:https://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Text/Index.html#rendertype

1 个答案:

答案 0 :(得分:0)

        <options.richTextArea>
            <TCEforms>
                <exclude>1</exclude>
                <label>
                    Rich Text Area
                </label>
                <config>
                    <type>text</type>
                    <rows>5</rows>
                    <cols>300</cols>
                    <enableRichtext>true</enableRichtext>
                </config>
                <defaultExtras>richtext[]</defaultExtras>
            </TCEforms>
        </options.richTextArea>
相关问题