Here is a Patch to Add Option for Term Weights to Import

ambereyes - November 11, 2008 - 23:51
Project:Taxonomy CSV import/export
Version:5.x-1.4
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

I created a patch to include an option to have weights as the second column.

It may need work in the updating or to add this as an option to other configurations, but it imports like a charm.

Katrina

--
www.ambereyes.net

AttachmentSize
term_weight_import.patch1.34 KB

#1

Eric Link - December 31, 2008 - 00:16

Here is a patch that works (for me) on 6.8, handles updates, and checks to make sure there is a weight value on the line being parsed.

AttachmentSize
term_weight_import.patch 1.75 KB
test_parent_child.csv_.txt 28 bytes
test_term_description.csv_.txt 175 bytes
test_weight.csv_.txt 29 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.