
Hi, I'm Jon an experienced programmer with a vibrant personality who is passionate about pretty much everything!
I spend much of my time building functional websites bridging the void between robots and humans.
Recently I was attempting to display a Drupal node (CCK) form on a module generated page. Here is a tested and working solution.
global $user; module_load_include('inc', 'node', 'node.pages'); $node = node_load(array( 'uid' => $user->uid, 'type' => 'yourcck', )); node_object_prepare($node); echo drupal_get_form('yourcck_node_form', $node);
I do not accept cheques, single malt is preferred.