[TYPO3-dev] BE lib

Ingo Renner typo3 at ingo-renner.com
Tue May 15 17:48:30 CEST 2007


Steffen Kamper wrote:

hi,

> i got a little easier snippet for that, look this:
> 
> $pS = t3lib_div::makeInstance('t3lib_pageSelect');
> tslib_fe::includeTCA();
> $tmlp = t3lib_div::makeInstance('t3lib_TStemplate');
> $tmlp->init();
> $tmlp->start($pS->getRootline(intval($_GET['pid'])));
> $var = $tmlp->setup['plugin.']['tx_name_pi1.']['varpath.']['var'];
> 
> this should work also, what do you think ?

this should work also, but $tmlp->start also does some caching/cache 
checking which is not needed in BE...


Ingo




More information about the TYPO3-dev mailing list