Tokens not replacing in digest
dlumberg - July 2, 2009 - 15:56
| Project: | Notifications |
| Version: | 6.x-2.1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I'm not sure if this is the right place, feel free to bounce this to another issue queue if it belongs somewhere else.
I'm writing a custom notifications module that hooks into some custom content (cck and other fields) everything seems to be working and it's building the digest and events (I hooked into notifications_content to do the messaging) the problem is that the tokens aren't getting replaced.
I've been pulling my hair out trying to figure out where and how the tokens get replaced so that I can debug what I'm doing.
If anyone can point me in the right direction it would be greatly appreciated.
Thanks in advance.

#1
Found it, I wasn't passing the nid in the params and so the node object wasn't getting passed to the messaging module.