I have created an entry form using CCK. Very nice.

However, I would like to do two additional things:

1. Upon submission of the node, I'd like to send an email to the creator and

2. After the node is submitted, I'd like to direct the creator to a page welcoming them and prompting them to pay (embedded button using google checkout)

Must I hack PHP, or is there a module?

Comments

Mojah’s picture

Take a look first at these modules on how to get the email sent after node completion

http://drupal.org/project/workflow
http://drupal.org/project/actions (optional)
http://drupal.org/project/mailhandler (optional)

Workflow or actions has an example to that shows you how to produce exactly the above result, of a triggered email after node completion.

http://drupal.org/project/nodegoto
This should solve your redirect after node creation

cayenne’s picture

Thanks!

:)

bmilesp’s picture

I would like to add a "print this Now" button after a node is created on my site, and ONLY after it is created. Is there a command, a variable or anything that indicates that the form is submitted? $_POST and $_GET are blank except for $q, but even that doesn't have anything distinct to run a check against.

I'm trying to achieve this in the node template file, and would like something like this:

 if ($new_node_submitted) {
  echo $print_button;
} 

but clueless. Any suggestions would be appreciated. Thank you!

-bp-