Hi,

I'm trying to integrate a webform node inside another node, so it will seem to be part of it.
For the moment I'm using a simple:
node_view(node_load(array('nid'=>$form_id)));
However - This puts an entier node inside my already-existing node, and I wish to have only the form itself, together with it's description, inside my node, without having Drupal adding it's supplementary divs and classes and headers...

I also tried module_invoke('webform','view',$form_object), but it doesn't seem to work.

What would be the right way of doing so?

Thanks!

Comments

quicksketch’s picture

Status: Active » Fixed

I'm sure you've already gotten this or given up. But you just need to specify additional options in the node_view:

node_view(node_load(array('nid'=>$form_id)),FALSE,FALSE,FALSE);
Args: nodeids, teaser, page, links

Closing, due to the time lapse without response.

quicksketch’s picture

Status: Fixed » Closed (fixed)