Hi - sorry if I've missed something obvious, but I can't get a new node's path into my notification emails properly. I notice others are doing this successfully...
My email body contains this:
Click here to view: [node:node-url]
Node-path: [node:node-path]
Node-id: [node:nid]
The tokens [node:node-url], [node:node-path] and [node:nid] are all being evaluated, but they're producing incomplete paths. Here's my latest output, from creating a new node:
Click here to view: http://mydomain.org/node/
Node-path: node/
Node-id:
But if I EDIT the node, the notification email now contains a valid working link back to the node, as desired:
Click here to view: http://mydomain.org/content/anon-test-4
Node-path: content/anon-test-4
Node-id: 26
This tells me that the node's path is being set AFTER the action fires.
Is there some way for me to control/fix this?
Any advice appreciated.
Comments
Comment #1
nevets commentedI believe if you use the "After saving new content" event, the information will be available.
Comment #2
sam mooreThanks for that.
For some reason that event wasn't showing up in the menu for that rule, but I made a new rule and was able to select it.
Sorry, I'm a little new at this particular module.
Cheers
Comment #3
sam moore