For those of you who waited until after updating to Drupal 5 to convert your flexinodes to CCK's, here's a port of Flexiconvert to 5.x.
The same warnings apply, but I've used this to successfully port over a very simple flexinode type.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | flexiconvert1.patch | 8.27 KB | mcarbone |
| #1 | flexiconvert.info_.patch | 107 bytes | mcarbone |
| flexiconvert.patch | 2.19 KB | mcarbone |
Comments
Comment #1
mcarbone commentedA .info file to use with this. I had to append .patch to upload the file, so make sure you rename it from flexiconvert.patch.info to flexiconvert.info.
Comment #2
mcarbone commentedHere's a new patch. I've added the ability to convert 'url' and 'image' types (and made some trivial changes to conform to Drupal coding standards).
I've used this successfully on a production site, but all the same warnings apply.
Comment #3
starbow commentedWow, very cool. I will review this and post it after the Drupal Summit.
Comment #4
ejort commentedI've seperated the new fields portion of this patch from the 5.x specific bits in the Include image, url and file fields in conversion issue. It also includes a file field.
Comment #5
quicksketchFantastic! Applied this patch and gave it a shot on my Drupal 5.1, CCK 1.4 install. Some notes:
- Will correctly port flexinode "url" type fields to CCK "link" type fields
- Will not correctly port any field of type "multiple" or used by more than one type
- Does not clear the CCK cache in Drupal 5, so it doesn't look like anything has happened
This patch should include
after conversion completes.
Comment #6
starbow commentedI have applied this patch and rolled out a 5.x-dev branch
Comment #7
(not verified) commentedComment #8
liquidcms commentedthe 4.7 flexiconvert didn't handle "widgets" such as select list text fields... any chance this one does.
Comment #9
noid commentedGuys,
Can you help me out with my problem -- http://drupal.org/node/206623 -- I may need the 5.0 fix after all because I might not have saved a proper 4.7 database backup. Thanks in advance!
Comment #10
mo6noid, please don't hijack this issue. Thanks.