Skip to content

Drupal: Exposed Filter Block zum richtigen Panel umleiten

von dennis

Kleiner Schnipsel, große Wirkung:

/*
 * implements hook_form_alter
*/
function THEME_form_alter(&$form, &$form_state, $form_id) {
    if ($form['#id'] == 'id-of-exposed-form') {
        $form['#action'] = '/new/path';
        return $form;
    }
}

Aus → Drupal

No comments yet

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS