Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 2 KB

File metadata and controls

49 lines (29 loc) · 2 KB

OpenEuropa Content Project companion module

This module is a theming companion module to the OpenEuropa Content Project module. It provides the logic needed to theme the Project content type.

Installation

Make sure you have read the OpenEuropa Content Project module's README.md before enabling this module.

After enabling this module make sure you assign the following permissions to the anonymous user role, so visitors can correctly access all project information.

  • Organisation: View any published entity

Required contrib modules

This module requires the following contributed modules:

Shipped configuration

The modules ships configuration date format which is made for presenting Project duration.

List of shipped date formats:

  • Project period, e.g. 23.06.2020

Overridden configuration

Installing this module will override the default project content type view mode, shipped by the OpenEuropa Content Project module. This is necessary in order to guarantee that fields and formatter settings are displayed correctly.

If you want to customize how the project looks like create the full view mode and take over.

Extra fields

This module ships with a extra field plugin definition which is used to display complex rendering business logic. All this logic is encapsulated in this extra field.

You can reuse these extra fields in your own view modes.

List of Extra field definitions:

  • Percentage provides a field that calculates the eu percentage of the project budget.