Posted on: Thursday, 23 June 2011 @ 1:44pm
Blatting about
In template.php:
'form', 'template' => 'node--[content-type]-form', ) ); } ?>
If you keep template files in a subdirectory (eg sites//all/themes/[theme-name]/templates or something to that effect) this may help:
'path' => drupal_get_path('theme', '[theme-name]') . '/subfolder',
After you've put all your fields where you want them in your pretty node--type.tpl.php:
At the end put
That renders all those sneaky little hidden fields Drupal uses to process and validate form stuff. Use css to hide the vertical tabs if you want them hidden.
#[formid] .vertical-tabs
{
display: none;
}