I'm not sure which component this would be... but

I have a text cck field set up in a content type used in content profile. And when I use one of the tokens provided for that, it only prints the first item and *not* each "checked" item.

I attached some screen shots to hopefully show what is happening.
The first 2 screen shots show the cck field.
the next one shows the tokens in the send email rule
then the checkboxes in the actual user profile
and finally, the emailed result which shows just the first thing being printed.

Thanks for any thoughts!

Comments

fago’s picture

Title: rules token for text: check boxes only prints first item in rules email action » check boxes only prints first item
Project: Content Construction Kit (CCK) » Token
Version: 6.x-2.x-dev » 6.x-1.x-dev
Component: Rules Integration » Code

I suppose this is a known issue of token. Check the token modules issue queue and if you can find an existing issue assign this issue as a duplicate.

yesct’s picture

#156860: Support for multiple entry fields and field groups in CCK token
Is a canidate for duplicate. I'm still looking around the issue queue.

pcool’s picture

First of all congrats to YesCT for the very clear explanation and the step by step screenshots.
I have the same problem but unfortunately no solution yet.

dave reid’s picture

Project: Token » Content Construction Kit (CCK)
Component: Code » Token Integration

There is no CCK code or tokens in token.module. That is provided by cck.module.

agileware’s picture

I would agree that this is a duplicate of #156860: Support for multiple entry fields and field groups in CCK token

I have now added a more in depth patch for that issue so check it out and test if you can.