Closed (duplicate)
Project:
Content Construction Kit (CCK)
Version:
5.x-1.3
Component:
content.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2007 at 19:40 UTC
Updated:
7 Jun 2007 at 20:58 UTC
Comments
Comment #1
yched commentedI see you found the relevant thread by yourself :-)
http://drupal.org/node/118863
Comment #2
somebodysysop commentedYes, but where do I find HOW? This thread says there is a patch which theoretically should allow you to do it, but no where yet have I found any examples on how you actually do it. Can you point me to that?
Comment #3
yched commentedUnfortunately there is not. The patch in the referenced thread is a first attempt / proof of concept, which raises some questions still unsolved, and above all, is not a satisfying future-proof solution, as Eaton states in http://drupal.org/node/118863#comment-249439.
This is mostly due to the way CCK internals are currently built : there is no field CRUD API functions separated from the form / UI incarnation. content_copy.module and the patch you mention "only" are brilliant hacks / workarounds. Writing a proper api has been on the todo for a while, but it's a non-trivial task that nobody (me included) found the proper time to dedicate to.
See also the recent 'Fun CCK idea' discussion on the development mailing list - the archives on list.drupal.org seem to be down ATM, so I can't provide a link.
Comment #4
somebodysysop commentedUnderstood. Thanks.