[Typo3-dev] How to access TypoScript from BE

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


This may be usefull if you run into an error.

Elmar Hinz wrote:
> 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();
            $this->tmpl->tt_track = 0;

>>         $rootline = $this->sys_page->getRootLine( $this->id );
>>         $this->tmpl->start($rootline);
> 
> 
>           $this->tmpl->setup['plugin.'];




More information about the TYPO3-dev mailing list