Configuration of the Privatemsg module
Good day to everyone
There is a website where communication between registered users is implemented using the Privatemsg module. Everything works well, but an idea has come up:
Currently, when a message is sent, the page reloads and then it loads along with the page, including the message itself and the entire conversation history. I would like the message to be sent and new messages to load immediately without reloading the page.
This can be implemented using Node.js, especially since there is even a module for Privatemsg to connect it with Node.js, but since I am on a virtual hosting, it's not possible to implement it there.
Of course, I understand that it can somehow be done using simple Ajax, but I am not familiar with this technology. There might not be much code involved, and it could be resolved quickly.
In general, I would like to know how this can be done. Perhaps there are some ready-made modules or you could suggest a solution that has been implemented by someone else or by you.
Thank you in advance
P/S: I have used Google)) I found implementations of this idea for node and other pages:
1. One option here - http://www.drupal.ru/node/82316
2. The second one here - http://frantsuzzz.com/content/ajax-zaprosy-po-taymeru-v-drupal-7
3. The third one here, a ready-made module that can load updated information of specified material types using ajax - https://www.drupal.org/project/ajax_reload
, but as I mentioned earlier, I am simply not familiar with programming and Drupal architecture at such a level to optimize and modify it for myself, although it may all be quite elementary