Left inheritance group

The inheritance group on the left side.

How to edit elements inside the inheritance group

Inheritance group can be edited in a similar way to the element group. Use the toggle menu to open the group editor. Edit the title and the description of the inheritance group in the dialog. Use the add dialog to drag & drop the contents.

Right inheritance group

The inheritance group on the right side.

How to edit elements inside the inheritance group

Inheritance group can be edited in a similar way to the element group. Use the toggle menu to open the group editor. Edit the title and the description of the inheritance group in the dialog. Use the add dialog to drag & drop the contents.

Inheritance Group

In OpenCms 8.5.0 a new Inheritance Group is introduced to be used within a containerpage model.

 

The inheritance group is a content element to reference a group of another content elements. It extends the functionality of the element group by passing on the content element configuration down the navigation line. In each navigation level the user can define per drag & drop the elements, which should be referenced by the inheritance group in the similar way the element group is edited. The content of the group is inherited automatically to the below navigation levels. Additionally the elements referenced by the inheritance group can be added, removed or rearranged in every navigation level. The new configuration will be inherited only to the below levels.

 

Common use case

Use an inheritance group instead of the element group in the containerpage model, if you would like to achieve following effects on the website:

  • A common content part, which is repeated on all pages inside a navigation tree line.
  • All changes like editing, dropping new elements or deleting elements from the inheritance group are inherited to all pages below the current navigation level.
  • It should be possible to change elements at specific navigation level. These changes will be populated only to the pages in navigation below this point.

 

How to use inheritance group within a page model

  • Create and configure a page model. Please check the Model Containerpage Demo I to learn more about page models.
  • Add the required inheritance groups to the page model. Edit the title and the description of the created inheritance groups, but do not add any elements to the group at this step.
  • Use the configured page model to create the navigation structure of the website.
  • Now you can individually change elements in the specific navigation level. This changes will be inherited to the level below.

 

 

 

How to edit the inheritance group

The inheritance group is edited in the similar dialog as the element group.

  1. Open the inheritance group editor by clicking on the edit toggle button of the inheritance group. The inheritance group property dialog opens in an overlay, where the title and the description of the group can be set.
  2. Drop new elements to the inheritance group from the add wizard.
  3. Drag and drop, edit or delete the existing elements of the inheritance group.

Save all changes by clicking the ok-button of dialog.

  1.  Click the button "Show remove" to display elements, which are inherited from upper level, but removed in this one.

 

Note: All changes on the elements inside of the inheritance group like edit, remove, rearrange and settings are populated to all pages below the current navigation level.