Is there a way to embed the feedback form in a view or a block?
I tried to insert the code below in the footer of a view

return drupal_get_form('feedback_mail_form', mailinglist);
return $output;

The form is displayed but messages aren't sent.
Any idea?

Comments

creazion_dev’s picture

Hi dodazzi,

the following code should work fine:

<?php
  print drupal_get_form('feedback_mail_form', _feedback_get_page('default'));
?>
dodorama’s picture

Status: Active » Fixed

It worked.
Thanks a lot.

Anonymous’s picture

Status: Fixed » Closed (fixed)