[Typo3-dev] Calling a plugin from within another plugin

S. Teuber traveler_in_time at gmx.net
Tue Jan 13 14:05:30 CET 2004


Hey Boris,

> in the file, where's the class of your plugin include the other plugin:
>
> require_once (t3lib_extMgm::extPath
> ("sourceopt")."pi1/class.tx_sourceopt_pi1.php");
>
> replace sourceopt by your extension-key.
>
> and then the following call:
> $tx_sourceopt_pi1 =& new tx_sourceopt_pi1 ();
> $tx_sourceopt_pi1->main (&$this->content, &configuration_stuff);
>
> hope this helps

Actually - it does. You just made my day. :-)

Thanx a lot,

Sven




More information about the TYPO3-dev mailing list