ASAP help about showing webforms on my own theme

serguitus - May 7, 2009 - 18:21

hello budies!

DRUPAL IS DAMM GOOD!!!!!

I´ve been studing drupal for a while and im close to upload my first drupal site but i´ve a serius problem that has gotten me awake for 2 days!!!.... I realy need someone to tell me how do i show a form that i created with webform associate and cant get shown on my personal theme. i created a new type of content whith cck and i can handle all the fields and put them on my node-contentType.tpl.php but i dont now what to do for showing de associated webform of the node. on the default Garland theme its simply shown with the rest of the $content variable but in my own theme i dont show that variable, just some variables inside it. so i cant find a variable with de webform html code to handle and show there.
some help in that way will be very thanked

PLEASE HELP!!!!

Looks like

jdwfly - May 11, 2009 - 16:12

Looks like $content[webform][#value] might do the trick. The devel module shows that the html code is sitting inside of that value.

thanks buddy

serguitus - May 19, 2009 - 17:21

It worked perfectly!!!..... and im geting devel module too
thanks a lot

 
 

Drupal is a registered trademark of Dries Buytaert.