[TYPO3-english] ajax in fe extension - database connection
Bartosz Aninowski
bartoszx at SPAMgmail.com
Wed Apr 1 16:07:30 CEST 2009
>
> Does anybody know a way to use the typo3 database-functions in a script
> that is not a typo3-extension class?
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
or you can use
eID but you have to include some other class to get rows from DB or
parse TS etc
--
Bartosz Aninowski
typo(3)holics
http://blog.evo.pl
More information about the TYPO3-english
mailing list