Closed (duplicate)
Project:
Node Auto Term [NAT]
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2010 at 14:55 UTC
Updated:
9 Mar 2011 at 23:08 UTC
I don't know if this is an intended feature, but it seems after the node is created and the title used to create the term (if the term doesn't already exist in the vocabulary), subsequently the term is not associated with the node.
Is this the desired behavior?
I was under the impression that the node should be associated with the term and that is how most people would use it.
Comments
Comment #1
Sean-Khan commentedNAT is a connection used for this that is separate from taxonomy, although I agree that NAT settings should have an option to add the term automatically to the NAT node. This is needed for example if you want to make a view of all items of that taxonomy term, and having the original node as 'home' link as part of the view.
I couldn't find an option to do this using rules either.
Comment #2
johngriffin commentedAs a workaround for the views situation that Sean-Khan described above, you could use a term_id argument to the view and provide a default argument of the following php code:
That should insert the NAT term of the node being viewed as an argument. No need for the multiple tids in the code pasted above for standard NAT use, so that could be removed in most cases.
Comment #3
tribsel commentedi need this feature too. ;) btw i think Taxonomy node does this - creates node for taxonomy term and asociates node with that term.
Comment #4
arlinsandbulte commentedDuplicate of #155411: Can the associated node be assigned the taxonomy term?, I think.
And for the record, I am not in favor of assigning the taxonomy term to the NAT node that generated it.
IMO, this creates a parent-child paradox.
See my comment here: http://drupal.org/node/155411#comment-2661204
Comment #5
InterestingJohn commentedYou just saved my sanity with this snippet! I was going mad, until I realized that my desired result wasn't occurring because NAT wasn't linking the node and the term together. A thousand thanks for this info!