Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
   eZ Publish 4.x / legacy

eZ Publish (5.x)

eZ Publish 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for eZ Publish 4.x and Legacy topics see eZ Publish legacy

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.



Configuring the default layout by siteaccess is only available for 5.1+.In 5.0, this setting is application global only: ezpublish_legacy.view.default_layout 


Code Block
    # eZ Publish 5.1+ only
    ezpublish_legacy.my_siteaccess.view_default_layout: AcmeDemoBundle::my_layout.html.twig
    # eZ Publish 5.0
    ezpublish_legacy.view.default_layout: AcmeDemoBundle::my_layout.html.twig

Block name

Internally when rendering the view coming from the legacy kernel, a Twig template is created on the fly. This template extends the pagelayout you configured and includes the content inside a block. The name of this block is configurable as well (default is content).