Skip to content

Instantly share code, notes, and snippets.

@tim-bec
Created June 17, 2013 21:18
Show Gist options
  • Save tim-bec/5800557 to your computer and use it in GitHub Desktop.
Save tim-bec/5800557 to your computer and use it in GitHub Desktop.
TinyMCE in Contao austauschen (dcaconfig)
<?php
// Die eigene RTE-Konfiguration verwenden für
//Artikel-Teaser
$GLOBALS['TL_DCA']['tl_article']['fields']['teaser']['eval']['rte'] = 'tinyCustom';
// Events-Details
$GLOBALS['TL_DCA']['tl_calendar_events']['fields']['details']['eval']['rte'] = 'tinyCustom';
// Kommentare
$GLOBALS['TL_DCA']['tl_comments']['fields']['comment']['eval']['rte'] = 'tinyCustom';
// Text-Elemente
$GLOBALS['TL_DCA']['tl_content']['fields']['text']['eval']['rte'] = 'tinyCustom';
// News
$GLOBALS['TL_DCA']['tl_news']['fields']['teaser']['eval']['rte'] = 'tinyCustom';
$GLOBALS['TL_DCA']['tl_news']['fields']['text']['eval']['rte'] = 'tinyCustom';
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment