Drupal

Node form redirect in Drupal 6

The usual way to redirect a form in Drupal is to set:
$form['#redirect'] = url
However now Drupal 6 uses the form API for node delete, using this code on a node form will prevent you from deleting nodes: the form will redirect before you reach the delete confirmation page. An easy work around is to define a hidden field in the form called destination, with the redirect URL as the value.
$form['destination'] = array(
'#type' => 'hidden',
'#value' => url,
); 

Drupal clean URLs on OS X

How to get Drupal's clean URLs working on OS X

Syndicate content