I'm using the Directions module : http://drupal.org/project/getdirections

I'm trying to move the form elements around and generally render the form differently. I've been looking thorugh all the theme_ functions and am unable to find what function I need to override in template.php.

The module, at the bottom sais:

function theme_getdirections_direction_form($form) {
  // if you want to do fancy things with the form, do it here ;-)
  $output = '';
  $output .= drupal_render($form);
  return $output;
}

But how do I modify the $form variable?

Thanks all

Comments

pbarnett’s picture

You'll need to be familiar with the Form API to do much with $form - I'd recommend you start by reading the Getting Started Guide at http://drupal.org/node/751826