General

  eZ Systems Website
  Technical documentation
  Editor documentation

This Documentation contains:
 
Technical documentation:



⚠ WARNING ! This documentation is deprecated !

Please go to the current Technical Documentation

Skip to end of metadata
Go to start of metadata

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 eZ Publish (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:

ParameterTypeDescriptionRequired

layouts

stringLayout config rootYes

number

stringUnique key of the layoutYes

{ID}/identifier

stringID of the LayoutYes

{ID}/name

stringName of the LayoutYes

{ID}/description

stringDescription of LayoutYes

{ID}/thumbnail

string<path> to thumbnail imageYes

{ID}/template

string

<path> to template View

For example:
eZStudioDemoBundle:layouts:1.html.twig

<bundle>:<directory>:<file name>

Yes

{ID}/zones

string

Collection of zones

Yes
{ID}/{zone}/zone_idstringID of the zoneYes
{ID}/{zone}/namestringZone nameYes

 

Configuring Blocks

The configuration of blocks is stored in the default_layouts.yml file with the following structure below:

In eZ Publish/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)