Hi Everybody. When I tried to add taxonomy terms to new nodes from Raw->tags, all the terms would come out in one clump, like "News, Technology, Hardware." I looked in the code and found that the string was being put into the array without being split first. So I changed the array function to to explode by commas, which solved the problem.
I'm new to drupal development, so please let me know if that was the right way to fix the problem.
if (is_string($feed_element)) {
$feed_element = array($feed_element);
}
if (is_string($feed_element)) {
$feed_element = explode(", ",$feed_element);
}
Comment | File | Size | Author |
---|---|---|---|
#2 | feedmapper-taxonomy-675398-2.patch | 594 bytes | fmitchell |
Comments
Comment #1
Summit CreditAttribution: Summit commentedHi,
Could you make a patch of this please? So it can in. And may be also for feeds module?
greetings, Martijn
Comment #2
fmitchell CreditAttribution: fmitchell commentedpatch submitted