[development] Form insert (was no subject)

nan wich nan_wich at bellsouth.net
Wed May 12 19:24:15 UTC 2010

Yeah, drupal_array_insert would do the job nicely, but it's not available yet. My fieldset technique works, it just adds a border around those two elements.
Nancy E. Wichmann, PMP
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.

From: Alex Bronstein 

You may be interested in http://drupal.org/node/66183. It didn't make it 
into D6 or D7, but maybe something like it will make it into D8. Anyway, 
you can look through some of the patches to get ideas for how to write 
the code you want.

Steven Jones wrote:
> Hi Nancy,
> It's a bit flaky, but you could always array_splice it into the
> correct location.
> http://uk2.php.net/manual/en/function.array-splice.php
> Regards
> Steven Jones
> ComputerMinds ltd - Perfect Drupal Websites>
> On 12 May 2010 18:04, nan wich wrote:
>> I want to stick another option into the comment settings on the
>> node_type_form immediately after "Anonymous commenting." Since the fields
>> are not weighted and I don't really feel like going through and adding
>> weight to all of them, how do I position my new form element there?
>> I have thought of cloning the current element and then changing that element
>> into a fieldset, but I'm not sure that's the best way.
>> Any other ideas?
>> Nancy E. Wichmann, PMP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100512/396b4d5a/attachment.html 

More information about the development mailing list