Closed (fixed)
Project:
Webform
Version:
4.6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 May 2006 at 09:20 UTC
Updated:
27 Aug 2006 at 08:47 UTC
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
Comment #1
quicksketchI'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.
Comment #2
quicksketch