[TYPO3] Ajax for an Onlineuserlist

R. van Twisk typo3 at rvt.dds.nl
Thu Aug 31 13:46:40 CEST 2006


Andreas Wengrzik wrote:
> Hey there...
>
> I dont know how to implement ajax in an extension.
> Umm where to start... Its an really easy extension which reads the 
> current users and killduplicated entrys in the fe_users table.
> The output is rendered into an html template.
>
> Now the user has to reload the whole page to get the actual online user 
> list.
>
> I think with the xajax lib it could be easy to reload this single plugin 
> without page refresh?
>
> Anyone can give me a hint?
>
> The xajax-tut i tried but doesnt find the right way for my simple extension.
>
> Thanks and have a nice day!
>
> -andreas w.
>   
Personally I use prototype library and the eID method found in typo3.

That will give you the flexibility. I never used xajax since I settled 
on using prototype.
So I can't tell you how good xajax is. I also send JSON strings instead 
of XML
over the 'wire' since IE's XML parser is different from the rest of the 
world.

I sometimes end up in trouble (I think the whiteboard extension also
doesn't work under IE) using the browsers XML parser.

Ries


-- 
Ries van Twisk
Freelance Typo3 Developer
=== Private:
email: ries at vantwisk.nl
web:   http://www.rvantwisk.nl/freelance-typo3.html
skype: callto://r.vantwisk
=== Work:
email: ries at livetravelguides.com
web:   http://www.livetravelguides.com




More information about the TYPO3-english mailing list