[development] node_insert() function

deepaquila at mac.com deepaquila at mac.com
Sat May 6 10:56:49 UTC 2006


On 6-mei-2006, at 3:45, Jonathan Chaffer wrote:

> On May 5, 2006, at 4:48 PM, Neil Drumm wrote:
>
>> michel ziobudda morelli wrote:
>>> node function. I have searched for it in drupal.org and  
>>> api.drupal.org
>>> whitout results. Anyone know something about this function ???
>>
>> Both the 4.6 and HEAD autocomplete searches are using 4.6's list  
>> for some reaosn. I'll probably get a chance to look into it this  
>> weekend if no one else gets to it. (If someone else gets to it,  
>> I'll see what I can do about coding up a new feature for it.)
>
> The problem is with the FormAPI tree-collapsing behavior; the form  
> elements have the same name, so they're getting conflated by the  
> API. I haven't gotten around to working out the best solution;  
> patches are welcome. There's an issue created for this on the API  
> module project.

You may use '#tree' => TRUE on a parent element to avoid the tree  
from getting collapsed, which causes this problem.
--
Mark Janssen




More information about the development mailing list