Mit den folgenden Zeilen kann TypoScript Code aus einem Flexformfeld eingebunden und mit den Werten aus dem $conf-Array verbunden werden. Damit werden Einstellungen für ein einzelnes Plugin möglich.
PHP
$flexformTyposcript = $this->pi_getFFvalue($piFlexForm, 'myTS','s_TS_View'); if($flexformTyposcript) { require_once(PATH_t3lib.'class.t3lib_tsparser.php'); $tsparser = t3lib_div::makeInstance('t3lib_tsparser'); // Copy conf into existing setup $tsparser->setup = $this->conf; // Parse the new Typoscript $tsparser->parse($flexformTyposcript); // Copy the resulting setup back into conf $this->conf = $tsparser->setup; }