[development] Node body weight ignored?

Chris Skene chris at xtfer.com
Mon Jun 7 04:14:28 UTC 2010


Have you tried simply dragging the field order around under Content Type >>  Manage Fields?

On 07/06/2010, at 1:01 PM, nan wich wrote:

> The module's install file finds the highest weight in the system table and adds one to it, so it should be absolutely the last thing to run.
>  
> Nancy E. Wichmann, PMP
> 
> Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
> 
> 
> 
> From: Lee Rowlands <leerowlands at rowlands-bcs.com>
> To: development at drupal.org
> Sent: Sun, June 6, 2010 9:45:32 PM
> Subject: Re: [development] Node body weight ignored?
> 
> Just a thought, is content module (cck) coming through after your change and resetting it? Give your module a lower weight in the system table to test if something else is overriding your change.
>  
> >I have a hook_nodeapi op='view' implementation that is changing $node->content['body']['#weight']. Apparently it is being ignored because every other section that has a weight higher (less negative) than that weight is still being rendered above the body. I haven't yet gone digging through core to find out why this is happening. Is this the correct behavior?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100607/78477783/attachment-0001.html 


More information about the development mailing list