Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By palmergroup on
Any idea how to put a contact form in a block for Drupal 6? I used to do it with http://drupal.org/node/166432 but it doesn't seem to work in 6. Also, why does Drupal 6 not include a PHP Input Filter. I had to create my own, which isn't hard, but I wasn't certain if the PHP Input Filter in Drupal 5 had anything special.
Comments
The php input filter is now
The php input filter is now a seperate module, disabled by default for better security.
Drupal development and themeing, Galway, Ireland
Thanks!
I was able to put the contact form in the sidebar by simply turning on PHP and adding the code to an empty block on my sidebar.
Contact form block
I haven't tried it yet, but look at http://drupal.org/project/contact_form_blocks
Solution is here
Probably too late, but for anyone else who needs to know ...
If you use CCK to create a custom contact form, then the following works fine... http://drupal.org/node/270944