Drupal - How to display webform node in a block?

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.

Drupal rocks!!

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

Comments

Anonymous said…
Having read this I thought it was extremely enlightening.
I appreciate you finding the time and energy to put this short article together.
I once again find myself personally spending a significant amount of time both reading and leaving comments.
But so what, it was still worth it!

Feel free to surf to my website marken mode billig
My webpage: Designer Online Shop
Anonymous said…
Your style is unique in comparison to other
people I have read stuff from. Thank you for posting when
you've got the opportunity, Guess I will just book mark this page.

my webpage ... Hosting Companies
my web page :: dedicated servers
Anonymous said…
Thanks for another magnificent article. The place else may just anybody get that kind of
information in such an ideal manner of writing?
I have a presentation next week, and I'm on the search for such info.

Visit my blog; Private Krankenversicherung Test
Anonymous said…
Everything is very open with a really clear explanation of the issues.
It was really informative. Your website is extremely helpful.
Many thanks for sharing!

Here is my web blog - private krankenversicherung 2011
Anonymous said…
Hello there, You have done an excellent job. I'll definitely digg it and personally recommend to my friends. I'm sure they will be benefited from this web site.


Here is my site - web hosting software
Anonymous said…
I got this web page from my pal who told me on the topic of
this web page and now this time I am visiting this web page and reading very informative articles or reviews at this time.



Feel free to visit my web-site: san juan island vacation rentals
Anonymous said…
Remarkable! Its genuinely amazing article, I have got much clear idea
concerning from this piece of writing.

Review my web blog :: affiliate review site
my site - clickbank storefront
Anonymous said…
Thanks , I've just been looking for info approximately this topic for a long time and yours is the greatest I have discovered so far. However, what in regards to the conclusion? Are you positive about the supply?

Feel free to visit my web page; internet based business ideas
My site > great New business Ideas
Anonymous said…
Asking questions are genuinely good thing if you are not understanding anything fully, however this
paragraph presents pleasant understanding even.


Here is my web blog :: i want to stay at home
Anonymous said…
Please let me know if you're looking for a author for your blog. You have some really great posts and I think I would be a good asset. If you ever want to take some of the load off, I'd absolutely love to
write some content for your blog in exchange for a link back to mine.

Please shoot me an e-mail if interested. Cheers!


Also visit my web-site - all inclusive cheap
my webpage: great honeymoon destinations
Anonymous said…
Thanks for your personal marvelous posting! I truly enjoyed
reading it, you may be a great author.I will be sure to bookmark your blog and may come back from now on.
I want to encourage one to continue your great writing, have a nice evening!


my webpage: working from home employment
Anonymous said…
My coder is trying to convince me to move to .
net from PHP. I have always disliked the idea because of the costs.

But he's tryiong none the less. I've been using WordPress on a number of websites for
about a year and am worried about switching
to another platform. I have heard fantastic things about blogengine.
net. Is there a way I can import all my
wordpress posts into it? Any kind of help would be greatly appreciated!


Visit my web-site private krankenzusatzversicherung vergleich
Anonymous said…
It is perfect time to make a few plans for the longer term and it's time to be happy. I've
learn this put up and if I may I wish to recommend you few interesting issues or advice.
Maybe you could write next articles referring to this article.
I want to read more issues about it!

Here is my web site - island vacations packages
Anonymous said…
Please let me know if you're looking for a article writer for your site. You have some really great articles and I feel I would be a good asset. If you ever want to take some of the load off, I'd
love to write some content for your blog in exchange
for a link back to mine. Please shoot me an e-mail if interested.

Cheers!

Also visit my blog post: refinancing vs home equity loan
Anonymous said…
Hello my loved one! I wish to say that this article is amazing, nice
written and come with approximately all important infos.
I'd like to peer extra posts like this .

Feel free to surf to my blog how to Refinance with bad credit
Also see my web site - bad credit boat loans
Anonymous said…
Hello there, I do think your site could be having internet browser
compatibility problems. Whenever I take a look at your site in Safari,
it looks fine however, when opening in Internet Explorer, it has some
overlapping issues. I simply wanted to provide you with a quick heads up!
Besides that, wonderful site!

Also visit my site ... Jeans Outlet Online Shop
Anonymous said…
Hey this is somewhat of off topic but I was wanting to know if blogs use WYSIWYG
editors or if you have to manually code with HTML. I'm starting a blog soon but have no coding knowledge so I wanted to get advice from someone with experience. Any help would be enormously appreciated!

Feel free to surf to my homepage; find a loan
Anonymous said…
This site was... how do you say it? Relevant!! Finally
I have found something that helped me. Thank you!

Here is my site ... sonnenbrillen online outlet
Anonymous said…
I feel that is among the most vital info for me.

And i am glad studying your article. However should statement on few basic
issues, The web site taste is ideal, the articles is
in point of fact excellent : D. Excellent process, cheers

Here is my webpage: great honeymoon destinations
Anonymous said…
Hey! This is my first comment here so I just wanted to give a quick shout
out and tell you I genuinely enjoy reading through
your blog posts. Can you suggest any other blogs/websites/forums that go over the same subjects?
Thanks!

Also visit my webpage Read �
Anonymous said…
My programmer is trying to persuade me to move to .net from PHP.
I have always disliked the idea because of the costs.

But he's tryiong none the less. I've been using WordPress on various websites for about a
year and am anxious about switching to another platform.
I have heard very good things about blogengine.
net. Is there a way I can transfer all my wordpress posts into it?
Any help would be greatly appreciated!

Also visit my web page Schuh outlet online shop
Anonymous said…
Wow that was strange. I just wrote an really long comment but after I clicked submit my comment didn't appear. Grrrr... well I'm not
writing all that over again. Anyways, just wanted to say wonderful blog!


my weblog: some Business ideas
Anonymous said…
Hello, after reading this amazing piece of writing i am too delighted to share my experience here with friends.



Here is my page: Straightforward Solutions To Fix Your Credit Woes - Team Prometheus
Nice information about webform nodes.

Anonymous said…
I will right away grab your rss feed as I can't to find your e-mail subscription link or newsletter service. Do you've any?
Kindly let me recognise in order that I may subscribe.
Thanks.

My webpage ... us virgin island vacation packages
Anonymous said…


Here is my web-site :: buy facebook likes by location
Anonymous said…


Here is my blog ... buy facebook likes devumi
Michal said…
Thanks for providing valuable information. If you are getting bored, quickly browse Boss Agency and find a wide range of hot and young escort models available for booking. Visit https://www.bossagency.co.uk/locations/merseyside-escorts/

Popular posts from this blog

Error when Installing SQL Server 2008 R2 Management Studio

Technical Team Lead Interview Questions