Attached patch adds a function that allows you to pass the exported CCK code - and it will help you with the CRUD - so you don't have to bother if the content types/ fields already exist or not.

content_copy_import_content() was taken from install profile API module.

Comments

amitaibu’s picture

StatusFileSize
new3.63 KB

Better naming of variables, and remove a redundant module_load_include().

markus_petrux’s picture

Version: 6.x-3.x-dev » 6.x-2.x-dev

For the moment, CCK3 only hosts the stuff related to the multigroup module, and nested fieldgroups when ready. Reference: #494100: State of the multigroup module

So, I prefer to flag this issue for CCK2, and see if it can be reviewed by yched and/or KarenS.

amitaibu’s picture

Next patch should include CRUD for groups.

amitaibu’s picture

Status: Needs review » Closed (won't fix)

I was thinking, and this feature can live in a contrib , so I'm won't fixing it - and will create a module soon.

amitaibu’s picture

Status: Closed (won't fix) » Closed (fixed)