Drupal Updates

Friday, May 7, 2010

Drupal: simple multistep preview

This is my simple implementation of a multistep preview for any node type. It is basically a ‘toggle’ method which removes the form in one page and removes the preview in the other so you only see the preview or only the form at a given stage. Maybe a little messy, but it works!
Taxonomies have not been taken into consideration in this code. Leaving that to figure out for yourselves (Hint: $form['taxonomy']).

No comments:

Post a Comment