[TYPO3-ect] Integrate ajax with extensions
Ernesto Baschny [cron IT]
ernst at cron-it.de
Wed Jul 12 18:20:26 CEST 2006
Zach Davis schrieb am 12.07.2006 17:51:
> Christoph Koehler wrote:
>
>> Ernesto,
>>
>> Could you go into a little more detail please? I just use the normal
>> index.php, but how exactly would TS look like, and all that stuff?
> 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.
>
> Make sense?
Exactly what I was about to write. Thanks, Zach! ;)
Cheers,
Ernesto
More information about the TYPO3-team-extension-coordination
mailing list