PhlySimplePage
PhlySimplePage copied to clipboard
Custom (non default) Layout
It would be great to have the possibility to set a custom layout for a simple page.
I could imagin something like
return array(
'router' => array(
'routes' => array(
'about' => array(
'type' => 'Literal',
'options' => array(
'route' => '/about',
'defaults' => array(
'controller' => 'PhlySimplePage\Controller\Page',
'template' => 'application/pages/about',
'layout' => 'layout/static-pages'
),
),
),
),
),
);