[TYPO3-dev] [BE] makeInstance and call userfunc

Gijs Epping gijs.epping at efocus.nl
Tue Jan 29 15:33:30 CET 2008


Francois Suter schreef:
> Hi,
> 
>> As you might gues this is not working because $conf is containing some 
>> other values How can initiate tx_efrpho_pi1 like it's being executed 
>> on the front and only get the result back like the example above.
> 
> You can retrieve the configuration of some other plugin by using the 
> TSFE object. Something like:
> 
> $piConf = $GLOBALS['TSFE']->tmpl->setup['plugin.']['your_plugin.'];
> 
> HTH
> 


Thansk allot that got us a bit further, but the pibase functions are not 
working, pi1 is extended with pibase like so

class tx_efrpho_pi1 extends tslib_pibase {
	<code>
}

but iam getting errors in pi3:
Fatal error: Call to a member function typoLink() on a non-object in 
/usr/local/typo3_src-4.1.5/typo3/sysext/cms/tslib/class.tslib_pibase.php 
on line 304

How can i get the pibase to initialize?

regards Gijs




More information about the TYPO3-dev mailing list