Download & Extend

Migrate catalog data into CCK fields

Project:Station
Version:6.x-2.x-dev
Component:Catalog
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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

Comments

#1

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.

#2

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

#3

Title:Make Year field not mandatory» Set the locked value for created CCK fields
Category:support request» 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.

#4

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.

#5

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().

#6

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

#7

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

#8

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.

#9

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

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.

#10

subscribing.

nobody click here