I would like to have a facebook-like dynamic latest nodes loader in Drupal sidebar working in JQuery. Each time new node is created, the users would be able to see it in a list (similar to facebook) without refreshing the page. Any advice, tutorial links, etc. will be appreciated.
I would like to have a facebook-like dynamic latest nodes loader in Drupal sidebar
Share
How familiar are you with module development? I will suggest the easier, less instant way. If you really wanted it to be updated only when a new node was added, it would take much more work. If someone wants to describe that, they are more than welcome to.
Really all you need to write is a block (hook_block) which inputs some javascript which:
The page will be defined in a hook_menu call with ‘type’ => MENU_CALLBACK and calling a custom function (my_module_nodes_new).
Hope that helps!