[TYPO3-english] PLUGIN_TYPE_CONTENT_ELEMENT display bodytext field

Muriel le Pair typo3 at strangefruit.nl
Thu Sep 19 09:56:45 CEST 2013


Hi,

I have created an PLUGIN_TYPE_CONTENT_ELEMENT extension and I would like 
it to display:

content element: header + bodytext
  - fields of my extension
  - fields of my extension

But currently the bodytext field is ignored.


I have added the following lines to ext_tables.php:

$TCA['tt_content']['types'][$pluginSignature]['showitem'] = '
--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext_formlabel;;richtext:rte_transform[flag=rte_enabled|mode=ts_css],
rte_enabled;LLL:EXT:cms/locallang_ttc.xml:rte_enabled_formlabel,
tx_sfcodehighlighter_content,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.textlayout;textlayout,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended';

In the extension the content element header and bodytext fields are 
displayed and stored correctly in the BE.
But in the FE the content element bodytext is ignored.

It outputs:
header
  - fields of my extension
  - fields of my extension

What do I need to alter to display the bodytext in the FE?

--
kind regards,

Muriel le Pair


More information about the TYPO3-english mailing list