How are the allowed file extensions saved in the db? I'm encountering some very strange behavior where I accidentally made my file extensions list with commas between the extensions, then when I try to fix it it always reverts to a list with commas...

Comments

tbenice’s picture

every time i enter a list of extensions, filefield cck keeps putting commas between. It's very mysterious.

quicksketch’s picture

Priority: Major » Normal

FileField always saves the list without commas. You can use spaces or commas to separate extensions in the interface, but FileField will convert that to spaces before saving it in the database.

tbenice’s picture

OK thanks for that!

Where are these settings saved? I can't find the type specific settings anywhere...is it a variable? If so, what's the name?

Thanks alot for the input...!

quicksketch’s picture

CCK saves the settings in a serialized array in "content_node_field" and "content_node_field_instance" tables.

quicksketch’s picture

Status: Active » Closed (fixed)