Drupal – Importing into CCK fields with checkboxes

By David Pratt / Tags: / 1 Comment / Published: 08-08-09

I recently had a bit of a problem importing records into Drupal using the “Node Import” module.  The problem was trying to import data into a field that had a series of checkbox options that allowed more than one of which to be selected.

The pipe-delimited CSV file that I was using looked something like:

"string"|"string"|"checkbox integer 1,checkbox integer 2, checkbox integer 3"|"string"



But for some inexplicable reason the data just wouldn’t import. After many failed attempts and a fair bit of Googling, I stumbled across a solution in the Drupal forums. What I had to do was patch the module with the file: optionswidgets.inc from CVS and drop it into the node_import module directory


And the import continues…

Category: Tech


Posted: on August 8th, 2009 at 8:33 pm.

Feeds: RSS 2.0

One Response to “Drupal – Importing into CCK fields with checkboxes”

carl July 15th, 2011 at 3:23 pm

hi, i wouldn’t find inc file from that forum. do you have other way to do this?? I am struggling with this problem as welll

Leave a reply