<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Actually it's:<br>
<br>
module_load_include('inc', 'node', 'node.pages');<br>
$form = drupal_get_form($node->type .'_node_form', $node);<br>
<br>
[OR]<br>
<br>
$form = node_page_edit($node); // This will also set the page title
with the node title<br>
<br>
Make sure to load the node.pages.inc file so that everything <br>
<br>
<br>
<pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://www.intoxination.net">http://www.intoxination.net</a>
<a class="moz-txt-link-freetext" href="http://www.hollyit.net">http://www.hollyit.net</a></pre>
<br>
On 6/12/2011 8:24 PM, Ms. Nancy Wichmann wrote:
<blockquote cite="mid:675513.55877.qm@web180313.mail.gq1.yahoo.com"
type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
255); font-family: arial,helvetica,sans-serif; font-size: 12pt;">
<div style="font-family: arial,helvetica,sans-serif;"><span>You
can look at the node.module (probably actually
node.pages.inc?) and get the form name, but I think it is
actually "node_form_<i>type.</i>" And I believe you'll need
to recast the object to an array. Something like,</span></div>
<div style="font-family: arial,helvetica,sans-serif;"><span><br>
</span></div>
<div><span><font class="Apple-style-span" face="'Courier New',
courier, monaco, monospace, sans-serif">$form =
drupal_get_form('node_form_article', (array) $node);</font><br>
</span></div>
<div style="font-family: arial,helvetica,sans-serif;"> </div>
<div style="font-family: arial,helvetica,sans-serif;"><font
size="4" color="#ff007f" face="bookman old style, new york,
times, serif"><i><strong>Nancy</strong></i></font></div>
<div style="font-family: arial,helvetica,sans-serif;"> <br>
</div>
<div style="font-family: arial,helvetica,sans-serif;"><font
face="arial, helvetica, sans-serif">Injustice anywhere is a
threat to justice everywhere. -- Dr. Martin L. King, Jr.</font></div>
<div style="font-family: arial,helvetica,sans-serif;"><br>
<blockquote style="border-left: 2px solid rgb(16, 16, 255);
margin-left: 5px; padding-left: 5px;">
<div style="font-size: 12pt; font-family:
arial,helvetica,sans-serif;">
<div style="font-size: 12pt; font-family: 'times new
roman','new york',times,serif;"><font size="2"
face="Arial">
<hr size="1"><b><span style="font-weight: bold;">From:</span></b>
Fernando Conceição</font></div>
<div style="font-family: times new roman,new
york,times,serif; font-size: 12pt;"
class="yui_3_2_0_10_130779520168177"><br>
</div>
<div style="font-family: times new roman,new
york,times,serif; font-size: 12pt;"
class="yui_3_2_0_10_130779520168177">I have searched a
lot, but dont find the right way to do this.<br>
So what i want is to load the form for a node, the same
form as if i am editing a node, something like:<br>
<br>
$node = node_load(1);<br>
$form = drupal_get_form('article_node_form', $node);<br>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</body>
</html>