Until a full changeover to using a CCK field, the attached patch adds the ability to sort the Audio Upload fields alongside other CCK fields.

Comments

drewish’s picture

What's that do? Just lets CCK control the display weights? Or will it mess with the form weights as well?

agentrickard’s picture

Form weights, which I believe also set display weights. Without this patch, audio elements always have a CCK weight of 0.

drewish’s picture

does it set all the form element weights? because the audio module actually has several form elements so i'm curious how they'd be affected. for the audio_getid3 and audio_itunes modules this would be great as is though.

agentrickard’s picture

StatusFileSize
new65.07 KB

Right now, it moves the entire form fieldset, as shown in the attached -- where Audio Files is the fieldset created by Audio module. The same approach can be used with other fields set by the modules.

I had to do something similar with Domain Access.

drewish’s picture

Status: Needs review » Fixed
StatusFileSize
new1.19 KB

committed the attached.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.