Field Inherit

Component ID

787116

Component name

Field Inherit

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1983

Component created

Component changed

Component body

Field Inherit allows empty CCK fields to inherit values from "parent" nodes. Currently, there are two ways to configure a node's parent—via the menu system, or a Node Reference field.

Example uses:

  • You want a banner image to appear for all pages in a "section". Set the image for the top-level page in that section, and all the sub-pages will inherit the banner as well.

To configure, simply visit the field settings page (admin/content/node-type/[content_type]/fields/[field_name]), expand the "Field inherit" fieldset, and check "Inherit this field from a parent node".

Note: Currently there is no Views integration, so your inherited values will not appear in Views results. As soon as I learn the Views API, I'll add this. If you know how, feel free to submit a patch!