uid)
{
// required for Drupal 6
module_load_include('inc', 'node', 'node.pages');
// which nodeform you want
$node_type = 'community_question';
$form_id = $node_type . '_node_form';
// create a blank node
$node->uid = $user->uid;
$node->name = (isset($user->name) ? $user->name : '');
$node->type = $node_type;
// Invoke hook_nodapi and hook_node
node_object_prepare($node);
// Or you can also use an exiting node, for example
// $node = node_load(123);
// and the display the form:
$output = drupal_get_form($form_id, $node);
}
?>
Ask a Trading Question: get answers from fellow traders and our Experts! Answer Trading Questions: other traders have asked questions below... answer them!
Register For...
Free Trade Alerts
Education
1-on-1 Support
eToro Copytrader Tips