Make weight of embedded view configurable
Steve Dondley - November 1, 2008 - 20:18
| Project: | Node Hierarchy |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | jpsalter |
| Status: | needs review |
Description
Everything with the embedded views was working fine. The embedded view was showing up below the other content as expected.
Then I made some adjustments to the weights of other fields for the node type and the embedded view started showing up above all my content. After some head scratching, I solvd the problem by changing the hardcoded #weight of the embedded view from 10 to 1000. That solved the problem for me, at least temporarily.
For a more permanent solution, I'd like to see this weight be made configurable. Ideally, it would show up as a an item on the "manage fields" page for a cck node type and could be precisely placed.
Thanks for your work on this module. I think it's great.

#1
I had this same need. Here is a patch that provides this functionality...
#2
This update is cleaned up a bit.
#3
The patch looks good. Thanks for that. I'm able to change the weight in the .module file, but I can't seem to find the form in the UI to do it there. Help?
#4
The option should appear when you are managing the fields of your node type:
/admin/content/node-type/{your content type}/fields
#5
got it. thank you!
#6
Where does this patch go?
I apologize if that's a stupid question, but I'm not a PHP programmer, so I don't know this stuff. I need this functionality, and would like to install it.
#7
Here's info on how to apply a patch:
http://drupal.org/patch/apply
I used NetBeans (free download) for PHP to apply the patch, but there are many ways to do it.