By ahoeben on
I have been working on AJAX updates to the event.module calendar block, and there's now a working patch. The effect is so 'magical', but more importantly such an improvement to the functionality of the block, that I decided to implement the block updating as generic as possible so parts of it can be repurposed for/shared with other modules (eg using a blockupdate.js in /misc).
What blocks would benefit from dynamic updates through AJAX?
- Obviously the calendar block in the archive.module could do with the same treatment as the calendar block in the event.module.
- The 'user login block' (user.module) could do with dynamic updates on an unsuccesfull login (only refreshing the full page when there's an actual change to the page content).
Any other blocks/ideas?
Comments
poll module
The poll module can. It can even degrade it's content to voting options for everyone (so this can be properly and longer cached with the page) and show results only using ajax (or the opposite). Yes?
The Who's Online block
This would be interesting to see community members coming in and leaving. Maybe not the full functioning block, but just the number of registered members and anonymous visitors.
Love, Live, Laugh
Yes, Who's online! :D
Who's online block would be great!
The concept works quite well on my website (currently running on joomla) http://www.dieinter.net
Switching over to drupal as soon as 4.7 is ready.
jacauc
where is this
Did you ever get this to work as a module? I have been reading many posts on this subject and have been looking at the modules but I have not yet found where this is used as a module yet. Is there a working module for this yet ? if so what is it called. This post is very old but most relevant to my needs. The code that is being used in the advanced forum module would be ideal for this approach for this block online status idea. Any help is appreciated with this one.
Eric