[TYPO3] Create TypoScript inside PHP file (to use the plugin's HTML output)

Dmitry Dulepov [typo3] dmitry at typo3.org
Thu Jun 19 09:52:13 CEST 2008


Hi!

Παναγιώτης Κονταξής wrote:
> Hello all,
> 
> Is there any way to use TypoScript inside a PHP file/function? I 'm

Yes, it is possible.

> searching a way to configure a plugin and pass its HTML output into a PHP
> variable.

$cObj = t3lib_div::makeInstance('tslib_content');
$conf = array(
	'userFunc' => '......',
);
$html = $cObj->cObjGetSingle('USER', $conf);

-- 
Dmitry Dulepov
E-mail: dmitry at typo3.org
Skype: callto:liels_bugs
TYPO3 technical: http://typo3bloke.net/


More information about the TYPO3-english mailing list