[TYPO3-german] <LINK>-Pseudotags wandeln

Reinhard Kusel kusel at uke.uni-hamburg.de
Sat Dec 31 14:18:09 CET 2005


Lieber Elmar,

vielen Dank für Deine schnelle Antwort! Das Stichwort parseFunc_RTE hat mich 
auf die richtige Spur gebracht. Meine

function get_text($id) {
  $res =  
$GLOBALS['TYPO3_DB']->exec_SELECTquery('bodytext','tt_content','pid='.$id);
  $text = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res);
  $GLOBALS['TYPO3_DB']->sql_free_result($res);
  return $this->pi_RTEcssText($text['bodytext']);
}

macht genau was ich will. In pi_RTEcssText() aus tslib_pibase.php wird

$parseFunc = $GLOBALS['TSFE']->tmpl->setup['lib.']['parseFunc_RTE.'];

benutzt. Ich hatte diese function vorher nicht als für mein Problem relevant 
erkannt.

Guten Rutsch!

Reinhard
-- 
Dr. rer.nat. Reinhard Kusel
Birkenweg 2, 21640 Bliedersdorf
Tel. 04163/5786 (privat), 040/42803-2314 (dienstl.)
kusel at uke.uni-hamburg.de



More information about the TYPO3-german mailing list