I've committed the initial D6 port to HEAD (#222217: Port to 6.x), but I haven't yet tested any of the Token module integration. Let's use this issue for any discussion, patches, etc, related to that. Thanks.
I've committed the initial D6 port to HEAD (#222217: Port to 6.x), but I haven't yet tested any of the Token module integration. Let's use this issue for any discussion, patches, etc, related to that. Thanks.
Comments
Comment #1
geodaniel commentedToken substitution seems to be working as expected after some basic testing (inserting some tokens into the text).
Comment #2
dwwSeems to work fine in my testing with both broadcast and confirmation emails, too. Haven't tried reminder emails, since I haven't looked at #330821: Test/fix CCK date 6.x-2.* integration yet. ;)
However, the one thing I'm seeing is a PHP warning like this:
notice: Undefined index: token in /.../modules/cck/content.module on line 2160
On first glance, that doesn't seem to be the fault of anything signup module is doing wrong, and as I said, all the tokens are being replaced just fine...
Comment #3
dwwTested with reminder email, too. Everything's working with token integration. In IRC, greggles said that D6 token throws a lot of E_ALL warnings, so I'm not going to worry about that.
Comment #4
domesticat commentedI've used the profile module to add extra fields for users, and tokens for those fields (in our case, %profile[profile_workphone] etc.) aren't being substituted. Not sure if I should reopen this issue for this problem, though.
Comment #5
dww@domesticat: That's because user tokens aren't replaced at all, only node tokens. See #295542: Add user tokens to those able to be substituted in Signup emails.