I need to have one block for every contact form category. The category popup menu must be disabled when showing the block. On the /contact page it must be enabled though. I created a module to achieve this and I am using it on a production site yet. When looking for similar projects I discovered formblock and I think it would be nice to enhance it instead of creating another module with somewhat similar uses. What do you think?

The attached patch modifies formblock to provide one block per contact form category. I also created a README.txt.

CommentFileSizeAuthor
README.txt1.18 KBfuerst
contact_form_catgories.patch7.43 KBfuerst

Comments

fuerst’s picture

Status: Active » Closed (fixed)

This patch has issues when using multiple contact forms on the same page. The contact form category will not submitted correctly. Please don't use it.

BTW: I created a module which has the functionality described above at http://drupal.org/project/contact_form_blocks. A Drupal 6.x version is available too.