This project is read-only.

Blog comment refresh without full postback

Topics: Customizing Orchard, General
May 17, 2012 at 4:59 PM

I am playing music in a blog post with jPlayer and want listeners to post comments without a full page refresh.  When the page refreshes, the music stops and has to be restarted.  I want them to comment and be able to keep listening.  Any suggestions?


May 17, 2012 at 5:04 PM

The easiest way is probably to use the Disqus module, which uses AJAX to submit comments, so your page won't be reloaded in full.

May 17, 2012 at 6:28 PM
Edited May 17, 2012 at 6:28 PM

Currently there is no simple way other than what sfmskywalker suggested (or you could also use Facebook comments from the Facebook Suite module too). The Comments module will face some heavy refactoring; well that wouldn't give AJAX capabilities out of the box but it would be reasonably simple to implement. I wouldn't advice it for now, because comments have a rigid editor currently.

May 17, 2012 at 8:45 PM

Thanks for the feedback.  I will try the Disqus module.