Hi leute,
ich hab mir in meine Frontend Extension HTMLArea eingesetzt und bin nun am verzweifeln. Ich muss der Funktion drawRTE ja auch die Cofig übergeben. In Form von einem Array (bei mir $this->thisconfig). Nur wie muss der array aussehen damit das auch klappt?
Hab mal folgendes versucht und leider keinen erfolg gehabt. Hat jemand ne Ahnung?
PHP-Code:
$pageTSConfig = $GLOBALS['TSFE']->getPagesTSconfig();
$this->thisConfig = $pageTSConfig['RTE.'];
$this->thisConfig['default.']['FE.']['showButtons'] = 'bold, italic, underline, left, center, right, copy, cut, paste';
$htmlarea .= $this->RTEObj->drawRTE($this,'tabellenname','feldname',$row=array(), $this->PA, $this->specConf, $this->thisConfig, $this->RTEtypeVal, '',$GLOBALS['TSFE']->id);
und
PHP-Code:
$pageTSConfig = $GLOBALS['TSFE']->getPagesTSconfig();
$this->thisConfig = $pageTSConfig['RTE.'];
$this->thisConfig = $this->thisConfig['default.'];
$this->thisConfig = $this->thisConfig['FE.'];
$this->thisConfig['showButtons'] = 'bold, italic, underline, left, center, right, copy, cut, paste';
$htmlarea .= $this->RTEObj->drawRTE($this,'tabellenname','feldname',$row=array(), $this->PA, $this->specConf, $this->thisConfig, $this->RTEtypeVal, '',$GLOBALS['TSFE']->id);
Hat jemand von euch das schon mal erfolgreich hinter sich gebracht und weiß wie das alles klappt? Muss unbedingt das Teil runterkonfigurieren, gerade bei den buttons...
Für Hilfe bin ich dankbar!
Grüße
Nightflyer