[TYPO3-project-formidable] Re : tslib_pibase in Ajax event

Jerome Schneider typo3dev at ameos.com
Fri Jan 30 12:51:15 CET 2009


Hi folks !
The main problem here is that the plugin-execution-context is not 
available in the AJAX-execution-context.

Enters the sandbox. It allows you to persist selected parts of your pi 
configuration inside the AJAX events (data and methods).

Here are some links to understand the concept:
http://formidable.typo3.ug/pastebin/snippet/72.html
http://formidable.typo3.ug/tutorials/ajax-with-the-sandbox.html
http://formidable.typo3.ug/reference/control/sandbox.html

We hope this will help you,
Jerome Schneider

The problem here is that
Uwe Schmelzer a écrit :
> Hi Sanosuke303,
> 
> You don't need to include class.tslib_pibase.php.
> The methods from pibase should already be avaliable in your XML-Userobj.
> If not, you can try this way:
> 
> Create an FE Plugin. And use formidable from there.
> Every Plugin already is an extension the tslib_pibase.
> Thus the methods are available there.
> 
> class tx_YOUREXTENSIONKEY_pi1 extends tslib_pibase {
> ...
> }
> 
> <untested>
> And to access your extensions properties from a formidable userobj
> you could use $this->oParent->yourFunction()
> </untested>
> 
> 
> cheers
> uwe
> 
> 


More information about the TYPO3-project-formidable mailing list