CakePHP Ajax Chat Plugin - Updated for RC3 and Now Using jQuery

Posted by Matt on Wed, Oct 22 2008

It's past my bedtime so this will be short. I wrote an Ajax chat plugin for CakePHP a few months ago. It wasn't working so well with RC3, plus it used Prototype, so I decided to fix it up for RC3 and switch to jQuery.

Code is available in my GitHub repo

There is a demo at sandbox.pseudocoder.com

Posted in Sandbox

2 Comments

Steve said on Nov 20, 2008
incase you haven't tried it... it does not like IE.

took me a bit to get it working, the lines:

$javascript->link('jquery', false);
$javascript->link(array('jquery/jquery', '/chat/js/chat.js'), false);
$html->css('/chat/css/chat.css', null, null, false);

for some reason, needed to be set to true in order to actually work on my server.
Matt said on Nov 20, 2008
Hey Steve,
I didn't see a problem with IE7. Was that the version you were using or IE6
-Matt

Add new comment