From 6bbb991c7e79f711a4b7db01ebeb12c557622154 Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Tue, 19 Jun 2018 11:59:33 +0200 Subject: [PATCH] EZP-28868: Enabled eZ Platform Standard Design Bundle (#286) * EZP-28868: Enabled eZ Platform Standard Design Bundle * [Behat] Disabled overriding kernel template paths by standard design * Enabled overriding Kernel templates with @ezdesign --- app/AppKernel.php | 1 + app/config/ezplatform.yml | 4 ++++ app/config/ezplatform_behat.yml | 4 ++++ composer.json | 1 + 4 files changed, 10 insertions(+) diff --git a/app/AppKernel.php b/app/AppKernel.php index fa9322d080..03592552d5 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -39,6 +39,7 @@ public function registerBundles() new EzSystems\RepositoryFormsBundle\EzSystemsRepositoryFormsBundle(), new EzSystems\EzPlatformSolrSearchEngineBundle\EzSystemsEzPlatformSolrSearchEngineBundle(), new EzSystems\EzPlatformDesignEngineBundle\EzPlatformDesignEngineBundle(), + new EzSystems\EzPlatformStandardDesignBundle\EzPlatformStandardDesignBundle(), new EzSystems\EzPlatformAdminUiBundle\EzPlatformAdminUiBundle(), new EzSystems\EzPlatformAdminUiModulesBundle\EzPlatformAdminUiModulesBundle(), new EzSystems\EzPlatformAdminUiAssetsBundle\EzPlatformAdminUiAssetsBundle(), diff --git a/app/config/ezplatform.yml b/app/config/ezplatform.yml index b39a67966c..4625ed6b8a 100644 --- a/app/config/ezplatform.yml +++ b/app/config/ezplatform.yml @@ -59,3 +59,7 @@ ezpublish: url_alias: slug_converter: transformation: 'urlalias_lowercase' + +ez_platform_standard_design: + # makes Kernel default templates (in EzPublishCoreBundle/Resources/views) part of standard Design + override_kernel_templates: true diff --git a/app/config/ezplatform_behat.yml b/app/config/ezplatform_behat.yml index 1fa33883c2..a5dbef5c3f 100644 --- a/app/config/ezplatform_behat.yml +++ b/app/config/ezplatform_behat.yml @@ -13,3 +13,7 @@ ezpublish: ezdesign: phpstorm: enabled: false + +ez_platform_standard_design: + # for pre eZ Design Engine tests use old template naming + override_kernel_templates: false diff --git a/composer.json b/composer.json index 37aad1925a..e64e313928 100644 --- a/composer.json +++ b/composer.json @@ -44,6 +44,7 @@ "ezsystems/ezplatform-admin-ui-modules": "^1.2@dev", "ezsystems/ezplatform-admin-ui-assets": "^3.0@dev", "ezsystems/ezplatform-design-engine": "^2.0@dev", + "ezsystems/ezplatform-standard-design": "^0.1@dev", "ezsystems/ezplatform-cron": "^2.0@dev", "knplabs/knp-menu-bundle": "^2.2.1", "willdurand/js-translation-bundle": "^2.6.6",