diff --git a/app/AppKernel.php b/app/AppKernel.php index 5db561a50..f3bfa4f9f 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -28,6 +28,7 @@ public function registerBundles() new Bazinga\Bundle\JsTranslationBundle\BazingaJsTranslationBundle(), new FOS\JsRoutingBundle\FOSJsRoutingBundle(), new WhiteOctober\PagerfantaBundle\WhiteOctoberPagerfantaBundle(), + new Novactive\Bundle\eZSEOBundle\NovaeZSEOBundle(), new Kaliop\eZMigrationBundle\EzMigrationBundle(), new Lolautruche\EzCoreExtraBundle\EzCoreExtraBundle(), // eZ Systems diff --git a/app/Resources/views/page_head.html.twig b/app/Resources/views/page_head.html.twig index ae1b5c8a0..f1778089e 100644 --- a/app/Resources/views/page_head.html.twig +++ b/app/Resources/views/page_head.html.twig @@ -1,3 +1,3 @@ {% block seo_metas %} - {#{% include "NovaeZSEOBundle::seometas_head.html.twig" %}#} + {% include "NovaeZSEOBundle::seometas_head.html.twig" %} {% endblock %} diff --git a/app/config/nova_ezseo.yml b/app/config/nova_ezseo.yml index 0dea0d6bf..cba6e456b 100644 --- a/app/config/nova_ezseo.yml +++ b/app/config/nova_ezseo.yml @@ -1,57 +1,57 @@ -#nova_ezseo: -# system: -# default: -# custom_fallback_service: app.seo.fallback -# default_links: -# Index: -# href: { location_id: 2 } -# title: "Home" -# Search: -# href: { route: "app.search" } -# title: "Search" -# "Shortcut icon": -# href: { asset: "/bundles/app/images/favicon.ico" } -# type: "image/x-icon" -# default_metas: -# author: "eZ Systems" -# copyright: "eZ Systems" -# generator: "eZ Platform" -# MSSmartTagsPreventParsing: ~ -# fieldtype_metas: -# title: -# label: "Title" -# default_pattern: "" -# description: -# label: "Description" -# default_pattern: "" -# keywords: -# label: "Keywords" -# default_pattern: "" -# canonical: -# label: "External Canonical URL" -# default_pattern: ~ -# icon: "link" -# "og:title": -# label: "Facebook - Title" -# default_pattern: "" -# icon: "facebook-official" -# "og:description": -# label: "Facebook - Description" -# default_pattern: "" -# icon: "facebook-official" -# "og:image": -# label: "Facebook - Image" -# default_pattern: "" -# icon: "facebook-official" -# "twitter:title": -# label: "Twitter - Title" -# default_pattern: "" -# icon: "twitter-square" -# "twitter:description": -# label: "Twitter - Description" -# default_pattern: "" -# icon: "twitter-square" -# "twitter:image": -# label: "Twitter - Image" -# default_pattern: "" -# icon: "twitter-square" +nova_ezseo: + system: + default: + custom_fallback_service: app.seo.fallback + default_links: + Index: + href: { location_id: 2 } + title: "Home" + Search: + href: { route: "app.search" } + title: "Search" + "Shortcut icon": + href: { asset: "/bundles/app/images/favicon.ico" } + type: "image/x-icon" + default_metas: + author: "eZ Systems" + copyright: "eZ Systems" + generator: "eZ Platform" + MSSmartTagsPreventParsing: ~ + fieldtype_metas: + title: + label: "Title" + default_pattern: "" + description: + label: "Description" + default_pattern: "" + keywords: + label: "Keywords" + default_pattern: "" + canonical: + label: "External Canonical URL" + default_pattern: ~ + icon: "link" + "og:title": + label: "Facebook - Title" + default_pattern: "" + icon: "facebook-official" + "og:description": + label: "Facebook - Description" + default_pattern: "" + icon: "facebook-official" + "og:image": + label: "Facebook - Image" + default_pattern: "" + icon: "facebook-official" + "twitter:title": + label: "Twitter - Title" + default_pattern: "" + icon: "twitter-square" + "twitter:description": + label: "Twitter - Description" + default_pattern: "" + icon: "twitter-square" + "twitter:image": + label: "Twitter - Image" + default_pattern: "" + icon: "twitter-square" diff --git a/app/config/routing.yml b/app/config/routing.yml index 80382a068..7b522a3ac 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml @@ -80,10 +80,10 @@ fos.js_routing: _eztagsRoutes: resource: "@NetgenTagsBundle/Resources/config/routing.yml" -#_novaezseoRoutes: -# resource: "@NovaeZSEOBundle/Controller/" -# type: annotation -# prefix: / +_novaezseoRoutes: + resource: "@NovaeZSEOBundle/Controller/" + type: annotation + prefix: / recommendationBundleRestRoutes: resource: "@EzSystemsRecommendationBundle/Resources/config/routing_rest.yml" diff --git a/composer.json b/composer.json index c44dd95ec..ceca25aec 100644 --- a/composer.json +++ b/composer.json @@ -71,6 +71,7 @@ "gregwar/captcha": "^1.1", "kaliop/ezmigrationbundle": "^4.0", "netgen/tagsbundle": "^3.1@dev", + "novactive/ezseobundle": "^3.0.0@rc", "components/bootstrap": "3.3.5", "components/handlebars.js": "~3.0.0", "ezsystems/ezstudio-personalized-block": "^1.2@rc", diff --git a/src/AppBundle/MigrationVersions/all.yml b/src/AppBundle/MigrationVersions/all.yml index af0ac415f..3d5453b74 100644 --- a/src/AppBundle/MigrationVersions/all.yml +++ b/src/AppBundle/MigrationVersions/all.yml @@ -153,17 +153,17 @@ position: 7 field-settings: hideRootTag: false -# - -# type: novaseometas -# name: Metas -# identifier: metas -# description: 'Metas for Search Engine Optimizations' -# required: false -# info-collector: false -# searchable: false # CANNOT be searchable -# disable-translation: false -# position: 100 -# category: metadata + - + type: novaseometas + name: Metas + identifier: metas + description: 'Metas for Search Engine Optimizations' + required: false + info-collector: false + searchable: false # CANNOT be searchable + disable-translation: false + position: 100 + category: metadata references: - identifier: ref_content_type_id__folder @@ -437,17 +437,17 @@ field-settings: hideRootTag: false editView: Default -# - -# identifier: metas -# type: novaseometas -# name: Metas -# description: 'Metas for Search Engine Optimizations' -# required: false -# searchable: false -# info-collector: false -# disable-translation: false -# category: metadata -# position: 100 + - + identifier: metas + type: novaseometas + name: Metas + description: 'Metas for Search Engine Optimizations' + required: false + searchable: false + info-collector: false + disable-translation: false + category: metadata + position: 100 # blog post content type - @@ -559,17 +559,17 @@ editView: Default # validator-configuration: # TagsValueValidator: { subTreeLimit: 0, maxTags: 0 } -# - -# identifier: metas -# type: novaseometas -# name: Metas -# description: 'Metas for Search Engine Optimizations' -# required: false -# searchable: false -# info-collector: false -# disable-translation: false -# category: metadata -# position: 100 + - + identifier: metas + type: novaseometas + name: Metas + description: 'Metas for Search Engine Optimizations' + required: false + searchable: false + info-collector: false + disable-translation: false + category: metadata + position: 100 # place content type - @@ -700,17 +700,17 @@ defaultType: 1 useSeconds: false dateInterval: null -# - -# identifier: metas -# type: novaseometas -# name: Metas -# description: 'Metas for Search Engine Optimizations' -# required: false -# searchable: false -# info-collector: false -# disable-translation: false -# category: metadata -# position: 100 + - + identifier: metas + type: novaseometas + name: Metas + description: 'Metas for Search Engine Optimizations' + required: false + searchable: false + info-collector: false + disable-translation: false + category: metadata + position: 100 # Place list content type - @@ -768,17 +768,17 @@ disable-translation: false category: content position: 9 -# - -# identifier: metas -# type: novaseometas -# name: Metas -# description: 'Metas for Search Engine Optimizations' -# required: false -# searchable: false -# info-collector: false -# disable-translation: false -# category: metadata -# position: 100 + - + identifier: metas + type: novaseometas + name: Metas + description: 'Metas for Search Engine Optimizations' + required: false + searchable: false + info-collector: false + disable-translation: false + category: metadata + position: 100 # about content type - @@ -836,17 +836,17 @@ disable-translation: false category: content position: 4 -# - -# identifier: metas -# type: novaseometas -# name: Metas -# description: 'Metas for Search Engine Optimizations' -# required: false -# searchable: false -# info-collector: false -# disable-translation: false -# category: metadata -# position: 100 + - + identifier: metas + type: novaseometas + name: Metas + description: 'Metas for Search Engine Optimizations' + required: false + searchable: false + info-collector: false + disable-translation: false + category: metadata + position: 100 # subscribe content type - @@ -893,17 +893,17 @@ disable-translation: false category: content position: 3 -# - -# identifier: metas -# type: novaseometas -# name: Metas -# description: 'Metas for Search Engine Optimizations' -# required: false -# searchable: false -# info-collector: false -# disable-translation: false -# category: metadata -# position: 100 + - + identifier: metas + type: novaseometas + name: Metas + description: 'Metas for Search Engine Optimizations' + required: false + searchable: false + info-collector: false + disable-translation: false + category: metadata + position: 100 # delete previous file content type - diff --git a/src/AppBundle/MigrationVersions/product_list.yml b/src/AppBundle/MigrationVersions/product_list.yml index ecaebe392..d9032c2a0 100644 --- a/src/AppBundle/MigrationVersions/product_list.yml +++ b/src/AppBundle/MigrationVersions/product_list.yml @@ -39,16 +39,16 @@ name: Description identifier: description category: content -# - -# type: novaseometas -# name: Metas -# identifier: metas -# description: Metas for Search Engine Optimizations -# required: false -# info-collector: false -# searchable: false # CANNOT be searchable -# disable-translation: false -# category: metadata + - + type: novaseometas + name: Metas + identifier: metas + description: Metas for Search Engine Optimizations + required: false + info-collector: false + searchable: false # CANNOT be searchable + disable-translation: false + category: metadata # product content type - @@ -147,16 +147,16 @@ category: content field-settings: hideRootTag: false -# - -# type: novaseometas -# name: Metas -# identifier: metas -# description: Metas for Search Engine Optimizations -# required: false -# info-collector: false -# searchable: false # CANNOT be searchable -# disable-translation: false -# category: metadata + - + type: novaseometas + name: Metas + identifier: metas + description: Metas for Search Engine Optimizations + required: false + info-collector: false + searchable: false # CANNOT be searchable + disable-translation: false + category: metadata # product_list content -