Data import
http://chapterthreellc.com/blog/matt_cheney/drupalcon_boston_bringing_gu...
wget "http://csmproduction:csmproduction@1.csm.clients.raincitydev.com/hot_fix_quote.php?start=0&limit=1000" &
wget "http://csmproduction:csmproduction@1.csm.clients.raincitydev.com/hot_fix_quote.php?start=1000&limit=1000" &
wget "http://csmproduction:csmproduction@1.csm.clients.raincitydev.com/hot_fix_quote.php?start=2000&limit=1000" &
wget "http://csmproduction:csmproduction@1.csm.clients.raincitydev.com/hot_fix_quote.php?start=3000&limit=1000"
works:
$node = node_load($nid);
$node->field_massref_to_review_primary = array(array('nid' => $nid));
node_save($node);
doesn't work
$node = node_load($nid);
doesn't work: $node->field_massref_to_review_primary[0]['nid'] = $nid;
node_save($node);
Because in their custom cck, they populated $node->field_massref_to_review_primary with another array item just used for display (parent_list), that had to be cleared, before node_save would work properly with nid populated.
it’s very great informative
Submitted by Anonymous on Wed, 2011-11-02 03:45.it’s very great informative stuff shared here useful one for many others who needs this kind of stuff,…
70-536 brain dumps 70-640 exam dumps 70-642 free braindumps 70-643 latest dumps 70-646 latest dumps 70-647 latest dumps free 70-648 dumps 70-649 latest dumps