Reputation: 23613
Is it possible with Rules to set the numeric weight value of a taxonomy term as a CCK field when a node is saved?
I have 2 taxonomy vocabularies, and all nodes of a certain content type will have 1 term from each vocabulary. When not on the term's page, I need the sort order of nodes in a View to be by the term's weight. I therefore need to access the term's weight as a CCK field, so Views can use the value as a sort order. Can this be done with Rules?
Upvotes: 1
Views: 1074
Reputation: 2458
EDIT : 2 . Add a custom-php-field in the views and write something like
return taxonomy_term_load($my_tid)->weight;
And then sort the view by this field.
Upvotes: 0