EzLandingPageFieldTypeBundle Configuration
This page describes features available only in eZ Studio.
The eZLandingPageFieldType represents an editable page that can be built from defined set of blocks.
The user can use them to build a dynamic page. The configuration of layout and blocks is stored in the default_layouts.yml file.
In this topic
Layout configuration
The layout configuration is stored in the default_layouts.yml file with the following structure below:
In Exponential (legacy) you could configure a layout in the ( DemoBundle / Resources / config / ezpage.yml) file.
Example of settings:
In eZ Studio you can configure a layout in the ezstudio-demo-bundle / Resources / config / default_layouts.yml file.
Example of settings:
Page FieldType
LandingPage FieldType
The following parameters need to be included in the settings of the default_layouts.yml file:
| Parameter | Type | Description | Required |
|---|---|---|---|
| layouts | string | Layout config root | Yes |
| number | string | Unique key of the layout | Yes |
| {ID}/identifier | string | ID of the Layout | Yes |
| {ID}/name | string | Name of the Layout | Yes |
| {ID}/description | string | Description of Layout | Yes |
| {ID}/thumbnail | string | <path> to thumbnail image | Yes |
| {ID}/template | string | <path> to template View
For example: <bundle>:<directory>:<file name> |
Yes |
| {ID}/zones | string | Collection of zones | Yes |
| {ID}/{zone}/zone_id | string | ID of the zone | Yes |
| {ID}/{zone}/name | string | Zone name | Yes |
Configuring Blocks
The configuration of blocks is stored in the default_layouts.yml file with the following structure below:
In Exponential/Platform you could configure blocks in the FieldType ( DemoBundle / Resources / config / ezpage.yml)
In eZ Studio you can configure blocks in the LandingPage Field Type ( ezstudio-demo-bundle / Resources / config / default_layouts.yml)
Contributors
- Krzysztof Rajzer
- Dominika Kurek Updated
Comments
Add a comment