If I add FlashVideo to an existing content type and enable FlashVideo for that specific type, the upload field does not show up.
Even if I clone that content type and add FlashVideo to the cloned type, it does not show up.

Only if I create a new content type, the FlashVideo upload field is shown.

How can I add FlashVideo to an existing content type?

Thanks

Comments

suit4’s picture

additional information:
as far as I can tell, file attachements have to be enabled for FlashVideo, but if I enable / disable file attachements, only the file attachements upload field shows up or hides, not the video upload field (on my existing content type).

If I do the same with my new content type, I can toggle the video upload field on and off.

also, I tried disabling revision module, multilanguage support and taxonomy for my content type to make sure, there are no module collision, but with no effekt.

Any help / idea very welcome.

thanks

suit4’s picture

Version: 4.7.x-1.0 » 6.x-1.x-dev
Priority: Normal » Critical

once again answering my own questions:

ok, this might be a very critical issue for at least FlashVideo but maybe much more other modules related to cck and it may be an issue for all version of FlashVideo (so, please check that).

To explain:
I once created a content type and named it "project_submission" in the cck content type label field.
Some days later, I renamed this content type to "project", which is completely ok for cck and views as they internally get variables from the original content type name "content_project_submission".

I added the FlashVideo after renaming the content type. In the way, FlashVideo hooks into cck / nodes, it gets the node_type, which is - after havin renamed my content type - "content_project". All varibales are written to the db table 'variables' with the "content_project_"-prefix.

If I now add new content of my "project"-type (which drupal or cck internally is always referred to as "content_project_submission"!), the way FlashVideo tries to alter the form must simply fail, because there are no flashvideo rlated records in the variales table for a node type "content_project_submission" but for "content_project".

that is, why I don't get any FlashVideo upload field.

Workaround:
rename the content type to its original name and enable flashvideo for that node type.
don't rename the content type back to the new name, as that will always break FlashVideo settings.

I post this on cck issues, too

attheshow’s picture

Status: Active » Closed (fixed)

Sounds like you figured out how to solve this issue yourself. Closing it out to clean up the issue queue.