标签: drupal-6 taxonomy
使用Computed Fields模块,我可以从特定词汇表中获取分类术语权重吗?
谢谢
答案 0 :(得分:0)
$terms = taxonomy_node_get_terms_by_vocabulary($node, VID_OF_MY_VOC, 'vid'); $weight = $terms[VID_OF_MY_VOC]->weight;