How can i do this with rules

Events happening in the community are now at Drupal community events on www.drupal.org.
eugen80's picture

I'm creating site for au pair-agency. The families and au pair girls can register and they can create two content profiles: "general data" "contact data". "Contact Data" is not accessible to anyone directly.
Let's assume you are the family and registered on the site. You are looking for an au pair girl. The search gives you three au pair profiles. If you click on the link - you get to the "general data"-content profile. You read it and you would like to contact this au pair girl. To do this, you need

1) some kind of link or button to invoke sending email to au pair girl with text "Family ABC want to contakt you... Link to profile, contact data: ... "
2) confirmation page should appear after that. Text: "Thank you, the email was sent".
3) This contact data request should be logged somehow.

That's all. How could steps 1, 2, 3 be done with rules?

Comments

Button Field

shushu's picture

Hello,
I don't know this module, but it seems that what you need is http://drupal.org/project/button_field.
Just add the button CCK to your content profile, set your rule set, and trigger it...

Hope this help, and please write back how it went.

Regards,
Shushu

yes, it worked as i wanted!

eugen80's picture

yes, it worked as i wanted! The button_field was the solution, thanks!

How do you do this?

zephirus's picture

Hi!

I'm having the same problem. I have two button fields (presence and absence) in my content type and I have installed the Profile2 module so I have a custom field for each user named "realname".

With rules, how can I, for example, show a message with the value of "realname" when I click the "presence" button?

I'm really stucked here :(

Rules

Group organizers

Group categories

Categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: