programatically create CCK forms in Drupal 6

19.11.2008
 von Lukas Fischer
 | 0 Kommentare

This is the solution:

<?php
  $node 
= new stdClass();
  
$node->type 'document';
  
module_load_include('inc''node''node.pages');
  
$output .= drupal_get_form('document_node_form'$node);
?>
Bild-CAPTCHA
Bitte die Zeichen die auf dem Bild zu sehen sind eingeben.