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.

CommentFileSizeAuthor
#2 nh_weights2.patch1.14 KBjpsalter
#1 nh_weights.patch1.2 KBjpsalter

Comments

jpsalter’s picture

Assigned: Unassigned » jpsalter
Status: Active » Needs review
StatusFileSize
new1.2 KB

I had this same need. Here is a patch that provides this functionality...

jpsalter’s picture

StatusFileSize
new1.14 KB

This update is cleaned up a bit.

robynover’s picture

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?

jpsalter’s picture

The option should appear when you are managing the fields of your node type:

/admin/content/node-type/{your content type}/fields

robynover’s picture

got it. thank you!

cdmarine’s picture

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.

robynover’s picture

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.

markhalliwell’s picture

Component: Code » Drupal/PHP Code

Copy & Pasted: This issue pertains to the 6.x-1.x branch which is now legacy and is over one year old. If this issue is not applicable anymore, please consider closing it. Otherwise, please update this issue appropriately. Will be closed in two weeks if no response.