I've created a content type for authenticated users to use, to create and edit & delete their own of. I have set up the permissions and can get access as a authenticated user to the forms directly via node/add/story & node/19401/edit.
Now i want to use the form on another page, to be used in a block within a panel.
$form = drupal_get_form('story_node_form'); return drupal_render($form);
using drupal_get_form doesn't seem to work correctly is there another function I should be using to pull in the form?
I managed to get it to work using node_add
include_once(drupal_get_path('module','node') . '/node.pages.inc' ); return drupal_render(node_add('story'));
is there any security issues with this method?