I'm curious if anyone has tried putting a (small) webform from the webform module in a block? Would this work? Can I create a custom block and just call node_load/node_view for the webform, or do I need ot do something else to make it work? Any ideas appreciated.

Comments

Fusion_Sushi’s picture

No, I have not tried that specifically. Putting HTML or PHP Snippets in a block is something that should work fine.

http://drupal.org/node/21867

--------------------------------------------------------------------------------
"You can always find the storm by listening for the Thunder."

pwolanin’s picture

I have used a number of PHP snippets in blocks- the question I have now is whether I can take a webform node and easily stuff it in a block and have it still work? For example, if I want to make a small questionaire with the webform module, can I have that show up in a sidebar block?

---
Work: BioRAFT

laura s’s picture

Create the webform.

Create a view to display the webform in a block.

Enable the block.

Laura
_____ ____ ___ __ _ _
design, snap, blog

_____ ____ ___ __ _ _
Laura Scott :: design » blog » tweet

gcassie’s picture

laura s's solution works well.