Community & Support

Can i change the value of a CCK field of node 1 (typeX) in node 2 (type Y)?

I have some nodes with parent child relation.

I would like to display a parent CCK field in all the child node ADD/EDIT forms. So the parent CCK field value can be updated in every child.

I know this is possible using node_save or just sql, but i would like to program less.

an example to make it clear:

- node 'Footballteam' has a CCK field coach

- there are multiple 'Footballplayer' nodes which are children of a Footballteam node.

I would like to be able to show the Footballteam's CCK field Coach in every Footballplayer node.

So if i change the Coach in one Footballplayer node, it just adjusts the 'Footballteam' coach and thus also all the values for the other children.

nobody click here