Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added nova seo bundle (ezsystems#52)
  • Loading branch information
damianz5 committed Mar 22, 2018
1 parent fe121e6 commit 2c14545
Show file tree
Hide file tree
Showing 7 changed files with 161 additions and 159 deletions.
1 change: 1 addition & 0 deletions app/AppKernel.php
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion 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 %}
114 changes: 57 additions & 57 deletions 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: "<title|short_title|name>"
# description:
# label: "Description"
# default_pattern: "<description|short_description|intro|title|name>"
# keywords:
# label: "Keywords"
# default_pattern: "<tags>"
# canonical:
# label: "External Canonical URL"
# default_pattern: ~
# icon: "link"
# "og:title":
# label: "Facebook - Title"
# default_pattern: "<title|short_title|name>"
# icon: "facebook-official"
# "og:description":
# label: "Facebook - Description"
# default_pattern: "<short_description|description|intro|title|name>"
# icon: "facebook-official"
# "og:image":
# label: "Facebook - Image"
# default_pattern: "<image|picture>"
# icon: "facebook-official"
# "twitter:title":
# label: "Twitter - Title"
# default_pattern: "<title|short_title|name>"
# icon: "twitter-square"
# "twitter:description":
# label: "Twitter - Description"
# default_pattern: "<short_description|description|intro|title|name>"
# icon: "twitter-square"
# "twitter:image":
# label: "Twitter - Image"
# default_pattern: "<image|picture>"
# 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: "<title|short_title|name>"
description:
label: "Description"
default_pattern: "<description|short_description|intro|title|name>"
keywords:
label: "Keywords"
default_pattern: "<tags>"
canonical:
label: "External Canonical URL"
default_pattern: ~
icon: "link"
"og:title":
label: "Facebook - Title"
default_pattern: "<title|short_title|name>"
icon: "facebook-official"
"og:description":
label: "Facebook - Description"
default_pattern: "<short_description|description|intro|title|name>"
icon: "facebook-official"
"og:image":
label: "Facebook - Image"
default_pattern: "<image|picture>"
icon: "facebook-official"
"twitter:title":
label: "Twitter - Title"
default_pattern: "<title|short_title|name>"
icon: "twitter-square"
"twitter:description":
label: "Twitter - Description"
default_pattern: "<short_description|description|intro|title|name>"
icon: "twitter-square"
"twitter:image":
label: "Twitter - Image"
default_pattern: "<image|picture>"
icon: "twitter-square"
8 changes: 4 additions & 4 deletions app/config/routing.yml
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions composer.json
Expand Up @@ -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",
Expand Down
154 changes: 77 additions & 77 deletions src/AppBundle/MigrationVersions/all.yml
Expand Up @@ -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
Expand Down Expand Up @@ -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
-
Expand Down Expand Up @@ -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
-
Expand Down Expand Up @@ -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
-
Expand Down Expand Up @@ -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
-
Expand Down Expand Up @@ -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
-
Expand Down Expand Up @@ -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
-
Expand Down

0 comments on commit 2c14545

Please sign in to comment.