What is the difference of term reference and node reference field type?

Comments

absoludo’s picture

The obvious answer would be that Term reference references to a term and a node reference references to a node.

The question is what type of behavior are you looking for?
Do you want to reference directly to a node or do you want to reference to a taxonomy term?
The result of the first option is very obvious. The latter would normally result into a page of a term which shows every node using this term.

steeph’s picture

Edit: Oh, sorry, somebody was faster.

A term reference field is a field that refers a taxonomy term (category, tag, etc.). A node reference field refers a node (piece of content).

extrabionicman’s picture

Thank you guys for the quick information. Now I fully I understand when to use the term reference and when to use the node reference field type.