Does this work with nodereferences + taxonomy? When a user adds a photo into an album, I want the photo to have the same taxonomy as the album, is this possible?

Comments

Crell’s picture

Status: Active » Closed (works as designed)

No, it only works for CCK fields. Taxonomy has no formatter in D6 so there's no way to specify that a vocab should/should not inherit. Plus, it's display only.

bomarmonk’s picture

You can get this working with content taxonomy:

In the field inheritance formatter module, I just added changed line 85 from this
return array('text', 'number_integer');

to this

return array('text', 'number_integer' , 'nodereference' , 'content_taxonomy');

bomarmonk’s picture

Status: Closed (works as designed) » Needs review

Can we add some of these additional fields to the next release?

bomarmonk’s picture

Add to next release?

Crell’s picture

Status: Needs review » Closed (works as designed)

No, as I said this only works for CCK fields. I have no immediate plans to port this module to Drupal 7, so I don't know how if at all that would change things. If someone else wants to port it to Drupal 7, feel free to contact me. :-)

bomarmonk’s picture

For the 6.x version, you can always change one line of code, as mentioned above, and use Content Taxonomy and Node Reference fields... it works.