I have a view that displays comments for a node. When user1 posts a new comment then that comment appears automatically in the view for user1. But for user2 viewing the same node, the new comment does not appear automatically without a page refresh (ie, the view does not get refreshed automatically).

I have tried to find an event in rules to trigger an event that could look like "refresh page" or "refresh view".

Any hint?

1 Answer 1


Try using Views Auto-Refresh module.

A module to refresh a view after a specified time interval. Includes advanced options to avoid reloading the whole view, and to avoid causing a full Drupal bootstrap at each refresh.

If you are looking for REAL realtime update you should use some server side javascript like nodejs, to push event to the dom.

also there is nodejs module for Drupal.

A great tutorial

  • 3
    I used the sandbox project views nodejs and it works very well.
    – Baba
    Jul 28, 2013 at 17:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.