I am missing something, and don't know how to make this field non-required. Help?

Comments

drewish’s picture

are you able to edit the date field? it might have been created as a locked field. in -dev i believe i've made it unlocked so you can edit it. if your's is locked i'll need to give you a php snippet to fix it.

tim.plunkett’s picture

Either it's locked, or I just don't know exactly what I'm doing.

drewish’s picture

Title: Make Year field not mandatory » Set the locked value for created CCK fields
Category: support » task

Yeah if you can't edit it it's locked. I think I need an update to get them all on the same page.

tim.plunkett’s picture

I am really stuck on this one, and I can't even find out where to start. This issue itself is in the top 3 results for "drupal locked fields". Any suggestions of where to start are welcome.

drewish’s picture

ah, basically it'll be a matter of an update function that calls content_fields() for each of the fields changes the 'locked' property and then calls content_field_instance_update().

tim.plunkett’s picture

Was that a "I will write an update function" or "If you want this to work, learn how to write an update function"?
I don't mean it in an impatient way, I just wasn't sure if I was supposed to be figuring this out myself.

Tim

drewish’s picture

initially i was intending to write it but based on your question i though you might have been offering to take it on ;)

tim.plunkett’s picture

to be honest, i just started taking classes for the summer, and i'm not sure that i'd actually get it done. sorry for the confusion.

tim.plunkett’s picture

Title: Set the locked value for created CCK fields » Migrate catalog data into CCK fields
Category: task » feature

After looking into this further, it seems that I misunderstood the issue. It's not a locked field issue because the data isn't in CCK fields to begin with, they're stored in station_catalog. No wonder I couldn't figure this out.

pribeh’s picture

subscribing.

avpaderno’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I am closing this issue, as Drupal 6 is now not supported.