[TYPO3-dev] Make RTE <link> transformation on custom field

Victor Livakovsky v-tyok at mail.ru
Fri Jan 13 17:09:16 CET 2012


Hi, list.

I've made a custom extension, where I use a textarea with RTE. It works 
okay, except one thing: when editor puts a link in that field via RTE 
wizard, it saved as <link> tag, but doesn't transform to <a> tag on output.
TCA of this field is this one:
        'description' => array (
            'exclude' => 0,
            'label' => 
'LLL:EXT:lv_song/locallang_db.xml:tx_lvsong_song.description',
            'config' => array (
                'type' => 'text',
                'cols' => '30',
                'rows' => '5',
            )
        ),
Types section is this one:
'types' => array (
        '0' => array('showitem' => '<...cut...>, 
description;;;richtext[]:rte_transform[mode=ts_css|imgpath=uploads/tx_lvsong/rte/]')
    ),

Tried to add this to page TS config:
RTE.config.tx_ttsong_song.description.proc < RTE.default.proc
but it was helpless

What did I miss here?

Thank you in advance. 




More information about the TYPO3-dev mailing list