I absolutely love this module, but I have run into a rather annoying problem. I installed the cck email field module but that field is not appearing under any of the cck tokens in the workflow module. It isn't appearing under any of the other headings either.
Here is a list of the fields that do appear:
CCK text tokens
[node:field_last_name-raw] Raw, unfiltered text.
[node:field_last_name-formatted] Formatted and filtered text.
[node:field_street_address-raw] Raw, unfiltered text.
[node:field_street_address-formatted] Formatted and filtered text.
[node:field_city-raw] Raw, unfiltered text.
[node:field_city-formatted] Formatted and filtered text.
[node:field_state-raw] Raw, unfiltered text.
[node:field_state-formatted] Formatted and filtered text.
[node:field_quote_type-raw] Raw, unfiltered text.
[node:field_quote_type-formatted] Formatted and filtered text.
[node:field_phone-raw] Raw, unfiltered text.
[node:field_phone-formatted] Formatted and filtered text.
[node:field_make-raw] Raw, unfiltered text.
[node:field_make-formatted] Formatted and filtered text.
[node:field_model-raw] Raw, unfiltered text.
[node:field_model-formatted] Formatted and filtered text.
[node:field_response-raw] Raw, unfiltered text.
[node:field_response-formatted] Formatted and filtered text.
[node:field_comments-raw] Raw, unfiltered text.
[node:field_comments-formatted] Formatted and filtered text.
CCK date tokens
[node:field_year-value] The raw date value.
[node:field_year-view] The formatted date.
[node:field_year-timestamp] The raw date timestamp.
[node:field_year-yyyy] Date year (four digit)
[node:field_year-yy] Date year (two digit)
[node:field_year-month] Date month (full word)
[node:field_year-mon] Date month (abbreviated)
[node:field_year-mm] Date month (two digit, zero padded)
[node:field_year-m] Date month (one or two digit)
[node:field_year-ww] Date week (two digit)
[node:field_year-date] Date date (day of month)
[node:field_year-day] Date day (full word)
[node:field_year-ddd] Date day (abbreviation)
[node:field_year-dd] Date day (two digit, zero-padded)
[node:field_year-d] Date day (one or two digit)
[node:field_year-to-????] If the field has a to-date defined, the same tokens exist in the form: [to-????], where ???? is the normal token.
[node:field_warranty_expire_date-value] The raw date value.
[node:field_warranty_expire_date-view] The formatted date.
[node:field_warranty_expire_date-timestamp] The raw date timestamp.
[node:field_warranty_expire_date-yyyy] Date year (four digit)
[node:field_warranty_expire_date-yy] Date year (two digit)
[node:field_warranty_expire_date-month] Date month (full word)
[node:field_warranty_expire_date-mon] Date month (abbreviated)
[node:field_warranty_expire_date-mm] Date month (two digit, zero padded)
[node:field_warranty_expire_date-m] Date month (one or two digit)
[node:field_warranty_expire_date-ww] Date week (two digit)
[node:field_warranty_expire_date-date] Date date (day of month)
[node:field_warranty_expire_date-day] Date day (full word)
[node:field_warranty_expire_date-ddd] Date day (abbreviation)
[node:field_warranty_expire_date-dd] Date day (two digit, zero-padded)
[node:field_warranty_expire_date-d] Date day (one or two digit)
[node:field_warranty_expire_date-to-????] If the field has a to-date defined, the same tokens exist in the form: [to-????], where ???? is the normal token.
CCK number tokens
[node:field_zip_code-raw] Raw number value.
[node:field_zip_code-formatted] Formatted number value.
[node:field_send_email-raw] Raw number value.
[node:field_send_email-formatted] Formatted number value.
Node tokens
[node:nid] Node ID
[node:type] Node type
[node:type-name] Node type (user-friendly version)
[node:title] Node title
[node:author-uid] Node author's user id
[node:author-name] Node author's user name
[node:term] Name of top taxonomy term
[node:term-id] ID of top taxonomy term
[node:vocab] Name of top term's vocabulary
[node:vocab-id] ID of top term's vocabulary
[node:yyyy] Node creation year (four digit)
[node:yy] Node creation year (two digit)
[node:month] Node creation month (full word)
[node:mon] Node creation month (abbreviated)
[node:mm] Node creation month (two digit, zero padded)
[node:m] Node creation month (one or two digit)
[node:ww] Node creation week (two digit)
[node:date] Node creation date (day of month)
[node:day] Node creation day (full word)
[node:ddd] Node creation day (abbreviation)
[node:dd] Node creation day (two digit, zero-padded)
[node:d] Node creation day (one or two digit)
[node:mod-????] All tokens for node creation dates can also be used with with the "mod-" prefix; doing so will use the modification date rather than the creation date.
[node:menu] The name of the menu the node belongs to.
[node:menupath] The menu path (as reflected in the breadcrumb), not including Home or [menu]. Separated by /.
I am a little unsure why it isn't appearing, but I would really like to keep the email validation functionality. I will probably end up trying to dig into the code to figure out this little problem. I will post again if I come up with anything.
BTW. I am triggering this workflow event on node content updated. Then I am checking for a certain option choice to be true. It sends the emails just fine, it just doesn't replace the email field with the address.
Comments
Comment #1
fagothis is, because token supports only cck core modules. Other field modules need to support token itself - or token needs to be improved to also support email.
Comment #2
mh86 commentedthe token integration has been added, see http://drupal.org/node/216587
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.