[TYPO3-english] ajax in fe extension - database connection

Dmitry Dulepov dmitry at typo3.org
Wed Apr 1 17:06:32 CEST 2009


Hi!

Bartosz Aninowski wrote:
> but what for?
> Why cant you call ajax function within your extension?
> Fg with simple page object
> 
> ajaxpage = PAGE
> ajaxpage.typenum = 999
> ajaxpage.10 < plugin.tx_yourext_pi1
> ajaxpage.10.userFunc = tx_yourext_pi1->ajaxfunction

This is too heavy for AJAX because uses the whole TYPO3 FE.

-- 
Dmitry Dulepov
Skype: liels_bugs
In the blog: http://dmitry-dulepov.com/article/automatic-realurl-configuration-howto.html


More information about the TYPO3-english mailing list