comment form

ultrajet - July 5, 2009 - 08:16

Hi does anyone knows how to create a fast comment or a comment form in the footer instead of the regular comment?

you could easy use <?phpprint

dereine - July 5, 2009 - 08:37

you could easy use

<?php
print drupal_get_form('comment_form', array('nid' => arg(1));
?>

----------------------------------------
Jabber-me: dwehner@im.calug.de

thanks, but where do I type

ultrajet - July 5, 2009 - 08:47

thanks, but where do I type that code?

create a block in footer and

khawshik_1 - July 5, 2009 - 10:42

create a block in footer and enter this code as php code
and it will help you

thanks, I'll try it

ultrajet - July 6, 2009 - 09:04

thanks, I'll try it

Got a problem Parse error:

ultrajet - July 6, 2009 - 09:12

Got a problem

Parse error: parse error in C:\xampp\htdocs\demo\includes\common.inc(1655) : eval()'d code on line 2

Missed out the last )

sphism - August 11, 2009 - 15:41

<?php
 
print drupal_get_form('comment_form', array('nid' => arg(1)));
?>

works a treat

 
 

Drupal is a registered trademark of Dries Buytaert.