H
H
hocesunoc2016-03-01 16:14:12
PHP
hocesunoc, 2016-03-01 16:14:12

How to convert textbox to dictionary in drupal 7?

There are many nodes with a field of type "text". There is a task to convert the data of this field into dictionary terms and save it side by side in a field with the "link to term" type.
Tell me how to do this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
afi13, 2016-03-01
@afi13

Write an update function in which, using a query, get all the values ​​of the current field and save them as a taxonomy, save the resulting tid in the "link to term" field of the node.

N
Nikit Khaner, 2016-03-08
@Nikit

There seems to be no ready-made solution, there are scripts .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question