I have the Rules module (6.x-1.3) and Mime Mail module (6.x-1.0-alpha6) plus the Mime Mail Rules patch (http://drupal.org/node/501722) installed on a Drupal 6.19 site so that i can send a HTML email containing the values of a submitted CCK form which includes some multivalue fields (checkboxes). Ive set a Rule to display the array token of the multivalue field but it simply displays the text ([node:field_fieldname-default-array-view]) instead of parsing the token.

I made a simpler rule to display a message on screen of the value of multivalue field after updating the content and I still got the same result.

Based on these results i'm assuming that the Array Tokens module isn't working with the Rules module!? Do you have any ideas on how to get the two working together?

P.S. Thank you for taking the time to write this module, it is exactly what i need (if i can get it to work).

Comments

jday’s picture

Works for me!
currently using:

  • Rules 6.x-1.4
  • Array Tokens 6.x1.2-beta6

I had been using the patch here: http://drupal.org/node/156860#comment-2648398
but it hasn't been committed and I got tired of re-patching every time CCK was updated. I have a node type that includes two multi-select checkbox fields and a rule that emails the results. Working great so far.

Thanks Itangalo for writing this module, you're a rock star!

itangalo’s picture

Status: Active » Postponed (maintainer needs more info)

@joshua.howeli: Can you re-confirm that this isn't working for you? If you're coding your own actions for Rules, you should be aware that you sometimes need to delete an action and re-add it in order for tokens to work.

@jday: Wohoo! Thanks!

joshua.howell’s picture

I upgraded to Rules 6.x-1.4 and Array Tokens 6.x-1.2-beta6 and it all appears to be working fine now. Thanks heaps guys.

itangalo’s picture

Status: Postponed (maintainer needs more info) » Fixed

Great. Thanks for feedback.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.