Non so perché, ma ultimamente il modulo devel generate mi sta dando alcuni problemi.. in particolare, non riesce a creare associazioni decenti nodi generati/termini tassonomia.
Ma il tutto si può facilmente risolvere con un paio di query a livello database...
1 2 3 4 5 6 7 |
TRUNCATE TABLE term_node; INSERT INTO term_node ( SELECT n.nid, n.vid, t.tid FROM `node` n CROSS JOIN `term_data` t ORDER BY rand() LIMIT 1000 ) |
In pratica, una volta creati Nn nodi e Nt termini della tassonomia, questa query per prima cosa svuota la tabella term_node contenente le associazioni nodo/termine, quindi la ripopola prendendo 1000 associazioni generate casualmente (cross-join tra termini e nodi [== prodotto cartesiano], ordinazione casuale, limitata ai primi 1000 elementi).
respond this post
The teachers require to study the skills of writing, hence, we need to opt for dissertation service to purchase find a dissertation. In such way you confirm the writing technique. And as well you would take thesis writing.
reply this topic
If you keep on working on your perfect research associated with this good topic, could you please write something about order custom essay, because I want to order custom papers in the essay writing service.