[Typo3-UG Oesterreich] RTE links

Alexander Reinisch alexander.reinisch at itss-austria.at
Tue Oct 19 10:18:09 CEST 2004


<?php

if (!defined ('TYPO3_MODE')) die ('Access denied.');

/**

* Adding the 'table' button to the RTE by default

* and configure the transformation engine to NOT dissolve the tables.

*

* If at any point the RTE.default object is cleared (eg 'RTE.default > ') in
the Page TSconfig

* this will not work!

*/

$_EXTCONF = unserialize($_EXTCONF); // unserializing the configuration so we
can use it here:

if ($_EXTCONF['en'] && is_array($_EXTCONF['en.'])) {

t3lib_extMgm::addPageTSConfig('


RTE.default {

'.($_EXTCONF['en.']['tables']?' proc.preserveTables = 1':'').'

showButtons =
'.($_EXTCONF['en.']['extended']?'cut,copy,paste,fontstyle,fontsize,textcolor
':'').','.($_EXTCONF['en.']['tables']?'table':'').'

hideButtons = '.($_EXTCONF['en.']['extended']?'class,user,chMode':'').'

}

');

}

?>

das is der enzige file den ich gefunden hab. is der richtig? der war im
ordner typo3 /ext/rte_conf/.

 in
 ext_localconf.php
 hast du diese Definitionen drin stehen




More information about the TYPO3-at mailing list