Active
Project:
Drigg
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2009 at 23:09 UTC
Updated:
31 Jan 2009 at 14:32 UTC
When using cck in conjunction with drigg, the scoop summary/description always displays on the very top of the submission form, above the title, no matter the ordering or weight of the fields.
When cck is disabled, the ordering is correct.
Comments
Comment #1
philbar commentedIn
drigg.module, I change the weight from "-6" to "2" in the following code snippet and the field was moved to under the title.Is there a way to make drigg more friendly to CCK?
Comment #2
philbar commentedAs a quick and dirty fix, I opened the "manage fields" configuration page for scoops with javascript disabled. This disabled the core tabledrag.js script that handles drag-n-drop weight assignment. I set the "title" and "body" fields to match drigg's, which is "-7" and "-6" respectively. I saved the modifications, and it should work now.
Without this modification, the title fields were assigned the weights "1" and "2" by CCK, which seemed to conflict with drigg's code.
CCK is a pretty popular module and I think drigg should work well with it. So again, is there a way to make drigg more friendly to CCK?
Comment #3
yoshimi commentedHere is what I did to fix the issue:
In drigg.module Changed:
To:
In config_forms.inc Changed:
To:
This allows the admin to go to admin/settings/drigg and change the weight. I used a delta of 10 which may need to change. In reality, every form field should be change to allow the admin to set the weight.