[TYPO3-ect] Integrate ajax with extensions
Christoph Koehler
christoph.koehler at gmail.com
Wed Jul 12 18:32:55 CEST 2006
Zach,
> One way to do it is to tie your ajax responder to a specific page type
> and then set that up in your template. Eg:
>
> ajaxPage = page
> ajaxPage.typeNum = 99
> ajaxPage.10 < plugin.tx_ajaxResponder_pi1
>
> Then, your calls to the ajax responder include &type=99 in the URL,
> which tells your template to look to your responder PHP script for
> output -- that script is then responsible for returning the XML
> response. That's the general approach we've taken when we the eID
> approach hasn't been sufficent.
I am still working on cwt_community, and one of the modules of it is
supposed to be a status bar that updates some stuff using AJAX (new
messages).
So it will always be on a page together with the other modules of my
extension.
Can I still do it like that?
ajaxPage = page
ajaxPage.typeNum = 99
ajaxPage.10 < plugin.tx_cwtcommunity_pi1
Would that call my main function? Sorry, I guess I don't quite get it,
thanks for trying though!!
Christoph
More information about the TYPO3-team-extension-coordination
mailing list