By freakx0 on
I want to do a http-Request after submitting a new node to the database. that should be only on one special content-type.
how can i add php code, which is run after submitting?
dominik
I want to do a http-Request after submitting a new node to the database. that should be only on one special content-type.
how can i add php code, which is run after submitting?
dominik
Comments
Form API
Look at Form API and the ways in which you add function calls to happen after form submit. Here's the API ref for Drupal 5.x http://api.drupal.org/api/file/developer/topics/forms_api_reference.html/5. Hope that helps!
thank you. but that is only
thank you.
but that is only usable within a new module?
$form['#after_build'] = array('system_check_directory'); //
Yes, you could do a form
Yes, you could do a form alter in a new module
Take a look at the
Take a look at the workflow-ng module. Despite the name, it's a sort of action/trigger system which is pretty powerful and might let you do what you want.
workflow-ng is not available
workflow-ng is not available for drupal 6. any other solutions?
i've build a content type with cck. an for that i want to start a action after saving.