While building a site in Drupal 6.x, I had a requirement to display a contact us form box in all the pages of the site - except, on the Main Contact Us Form page(ofcourse, you wouldnt want and extra contact us box sticking!).
I started by creating a new content type using the WebForm module. I added fields like firstname, lastname, emailaddress, company url and message and saved it.
After this, I tried to figure out a way to add the form to a block. The idea was to stick the form in a block and place it on a content region and configure it to show on all pages except admin pages. But, I was stuck on how to display the webform node in a block.
One idea was to use the NodeToBlock module.
I had a feeling that there could be an easier way to implement this and went back to the webform page and dug up all the options in the webform form and hey presto! buried at the bottom of the settings was a check box 'Available as block'. I checked this and a block was created for this form.
In case you are searching for the option it can be found as:
1.Go to the Web Form Content Page (if you dont have one then create a contact us form using webform module)
2.Click the "WebForm" tab below the title.
3. Below the WebForm tab there is a secondary tab, in this tab look for the "Form Settings" tab and click it.
4.Scroll all the way to the bottom and expand the "Advanced Settings option"
5. you will find 'Available as block' option
Check this and a block will be created which can be viewed in the Blocks page.
This is applicable for Webform 6.x-3.6