Questions tagged [nodejs]

Use it for questions about integrating Drupal with Node, the JavaScript runtime built on Chrome's V8.

Filter by
Sorted by
Tagged with
-1
votes
0answers
26 views

How do I execute an external command?

I have a Node.js file (one.js) that works if I run it from a console. one.js --name=Lucy I need to call this inside a custom module. I can't find information on this. How do I call a Node.js file ...
2
votes
1answer
338 views

How to configure drupal-nodejs with https? [duplicate]

In drupal-nodejs configuration we have IP with port but how can I have the https for that configured.
1
vote
2answers
1k views

nodejs server set up

UPDATE: The node.js server is now running correctly at Openshift. The node.js server and the socket.io script can now be accessed publicly. Running cron in Drupal, I see that it can also access the ...
2
votes
1answer
648 views

How to implement Instant Notifications to 'follow' or 'like' nodes?

My employer has a social intranet site with 1000s of users, groups, communities and blogs. Users are free to 'follow' or 'like' nodes, blogs and other users, subscribe to communities, join groups etc. ...
1
vote
0answers
31 views

Refresh page only for flagged node author

I'm trying to refresh page for only the flagged node author with rules and views_nodejs. What is the right rule configuration to make this happen?
0
votes
3answers
733 views

Nodejs integration for Chatroom

I am following the Nodejs integration documentation to set up Chatroom, but am a little confused. In step 2, do we cd to the folder of nodejs installation, or the drupal nodejs module? Also, what ...
0
votes
1answer
356 views

Private Message with node.js issues setting up

I have followed the suggested video tutorials https://www.youtube.com/watch?v=u1sxDaH3Z-U and https://www.youtube.com/watch?v=f8XAT1oB1eA Im using the node.js watchdog submodule for debugging. That's ...
0
votes
1answer
32 views

Limit node.js updates if the view is active

I have a Facebook style news feed view which updates via node.js and rules when new content is created. This all works fine however if one user is in the process of commenting on a node teaser (...
2
votes
1answer
344 views

How to implement node.js For updating data in my block? [closed]

I have one block in which I need to update data from database while on events like vote , comment , revision or creation of node? I have set up node.js and can broadcast message to users accessing ...
1
vote
0answers
627 views

How to configure node.js module on localhost

I am trying to setup node.js module on my localhost environment. I have tried different configurations but still not found correct way to make it work. In my log messages I get: nodejs.config.js ...
0
votes
1answer
498 views

drupalchat with nodejs

I need to run drupalchat with nodejs locally but I get error loading the socket.io.js client library (404 not found) nodejs server is running the file exist in that path : sites/all/modules/...