Commit 099d8e5b authored by Andy Hausmann's avatar Andy Hausmann

Fixed a small bug regarding the expansion of the subtitle field by RTE functionality.

parent 61e21b6b
......@@ -14,7 +14,7 @@ $TCA['tx_flexslider_domain_model_flexslider'] = array(
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, title, subtitle, image, link, caption',
),
'types' => array(
'1' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, name, title, subtitle;;;richtext:rte_transform[mode=ts_css], image, link, caption,--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,starttime, endtime'),
'1' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, name, title, subtitle, image, link, caption,--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,starttime, endtime'),
),
'palettes' => array(
'1' => array('showitem' => ''),
......@@ -190,7 +190,9 @@ if ($configuration['extendSubtitleByRTE']) {
),
);
$TCA['tx_flexslider_domain_model_flexslider']['columns']['subtitle']['defaultExtras'] = 'richtext[]';
$TCA['tx_flexslider_domain_model_flexslider']['types']['1']['showitem'] = str_replace(
'subtitle',
'subtitle;;;richtext:rte_transform[mode=ts_css]',
$TCA['tx_flexslider_domain_model_flexslider']['types']['1']['showitem']
);
}
\ No newline at end of file
?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment