Submitted by Guest on Tue, 07/06/2010 - 11:54am
Hi,
I'm a Drupal Noob and I must be being stupid because I've done the first bit of the tutorial.
function thestreetsavvy_theme() {
return array(
'comment_form' => array(
'arguments' => array('form' => NULL),
),
);
}
/**
* Customizations to the Comment form.
*
*/
function thestreetsavvy_comment_form($form)
{
$output = '';
print "
"; return print_r($form); print "
";
$output .= drupal_render($form);
return $output;
}
and I'm getting the following error:
warning: Missing argument 2 for comment_form(), called in /var/www/html/sites/ukscenic.com/themes/thestreetsavvy/page.tpl.php on line 147 and defined in /var/www/html/modules/comment/comment.module on line 1246.
It's looking for a value for $edit.
Any ideas,
Thanks,
Sean
