[Typo3-dev] How to access TypoScript from BE

Elmar Hinz elmar.hinz at vcd-berlin.de
Mon Apr 4 16:57:03 CEST 2005


Works nice. Thanks.

> require_once (PATH_t3lib.'class.t3lib_page.php');
> require_once (PATH_t3lib.'class.t3lib_tstemplate.php');


>             // initialize the page selector
>         $this->sys_page = t3lib_div::makeInstance('t3lib_pageSelect');
>         $this->sys_page->init(true);
>             // initialize the TS template
>         $this->tmpl = t3lib_div::makeInstance('t3lib_TStemplate');
>         $this->tmpl->init();
>         $rootline = $this->sys_page->getRootLine( $this->id );
>         $this->tmpl->start($rootline);

           $this->tmpl->setup['plugin.'];




More information about the TYPO3-dev mailing list