Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
4.7.x-1.x-dev
Component:
content.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jan 2007 at 17:40 UTC
Updated:
24 Mar 2008 at 21:52 UTC
Not sure if this is CCK or product.module problem. On form created by CCK, the weight group is being broken by the Products listing.
See attached image with cursor pointing to problem area.
| Comment | File | Size | Author |
|---|---|---|---|
| weight-error.png | 49.53 KB | MsDetta |
Comments
Comment #1
karens commentedI'm guessing that the product info is acting like it has a weight of zero -- that your fields with weights less than zero are showing up above it and the others are below it. I found that some modules are creating fieldsets that have no weight. They don't show up on the field overview because they have no weight, but they act like they have a weight of zero, so they end up in the middle of your fields.
I have an idea of how to tweak the field overview to pick those up, too, so you will see them in the overview and can adjust your weights accordingly. I probably won't get to it until later today or tomorrow though.
Comment #2
MsDetta commentedIn this instance, the weight break occurred between weight 1 and weight 2.
Comment #3
karens commentedI took a look and the product module is creating an odd form element which is created by merging several other form elements, but it appears that it has no weight, so I'm having trouble predicting where it will show up on the page. Ordinarily things with no weight get treated by the forms api as though they had a weight of zero, but you're saying it is getting treated as though it has another weight,
If you want to file an issue on the product module page, you could mention that we're looking for top-level form elements that have weights assigned to them, so if they give the top-level form element a weight I think CCK will be able to detect it and show its position.
The other thing to try is if someone can show me exactly what the forms array that it is adding to the node looks like I can maybe figure out a way to identify it even if it has no weight.
Comment #4
MsDetta commentedThanks for the followup Karen.
Today it gets even stranger - The product section doesn't show up at all (which is what I prefer!).
Comment #5
catchAssuming this has been fixed by now.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.