CCK form in a block
Submitted by edex on Sun, 09/07/2008 - 10:55.
The quickest way should be to add a new block with PHP input format. In that block, call drupal_get_form() and output the result of that. You could do the same using a custom module.
<?php
global $user;
$type = 'nodetype';
$node = array('uid' => $user->uid, 'name' => $user->name, 'type' => $type);
print drupal_get_form($type . '_node_form', $node);
?>Source
Post new comment