From 09f835b34524622e19ff9731b6cbf58a5a4d298c Mon Sep 17 00:00:00 2001 From: Adam Moss Date: Fri, 3 Jul 2015 15:41:42 +0100 Subject: [PATCH] Added new functionality as checks to the SEO Checker page --- .../Creare/CreareSeoCore/etc/system.xml | 4 +-- .../default/template/creareseo/check.phtml | 29 ++++++++++++++++--- 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/app/code/community/Creare/CreareSeoCore/etc/system.xml b/app/code/community/Creare/CreareSeoCore/etc/system.xml index 7490808..0307148 100644 --- a/app/code/community/Creare/CreareSeoCore/etc/system.xml +++ b/app/code/community/Creare/CreareSeoCore/etc/system.xml @@ -470,7 +470,7 @@ - + text 100 1 @@ -483,7 +483,7 @@ - + select adminhtml/system_config_source_yesno 10 diff --git a/app/design/adminhtml/default/default/template/creareseo/check.phtml b/app/design/adminhtml/default/default/template/creareseo/check.phtml index 7172db5..3113eff 100644 --- a/app/design/adminhtml/default/default/template/creareseo/check.phtml +++ b/app/design/adminhtml/default/default/template/creareseo/check.phtml @@ -59,6 +59,17 @@ __('Canonical Product Redirecting is enabled. Any non-canonical URL paths are automatically 301 redirected to the canonical path.') ?> + +
  • + __('You have not enabled canonical link tags on CMS pages. Please enable + this so that all CMS pages have a canonical URL set.') ?> + getUrl('adminhtml/system_config/edit/section/creareseocore') ?>">__('Go fix it') ?> +
  • + +
  • + __('You have enabled canonical link meta tags for CMS pages.') ?> +
  • +
  • __('Twitter Cards are currently disabled.') ?> getUrl('adminhtml/system_config/edit/section/creareseocore') ?>">__('Go fix it') ?> @@ -187,14 +198,24 @@ -
  • __('Product schema is enabled.') ?>
  • +
  • __('Product structured data is enabled.') ?>
  • -
  • __('You have not enabled product schema structured data.') ?> getUrl('adminhtml/system_config/edit/section/creareseocore') ?>">__('Go enable it') ?>
  • +
  • __('You have not enabled product structured data.') ?> getUrl('adminhtml/system_config/edit/section/creareseocore') ?>">__('Go enable it') ?>
  • -
  • __('Social schema is enabled.') ?>
  • +
  • __('Social structured data is enabled.') ?>
  • + +
  • __('You have not enabled social structured data.') ?> getUrl('adminhtml/system_config/edit/section/creareseocore') ?>">__('Go enable it') ?>
  • + + +
  • __('Organization structured data is enabled.') ?>
  • + +
  • __('You have not enabled Organization structured data.') ?> getUrl('adminhtml/system_config/edit/section/creareseocore') ?>">__('Go enable it') ?>
  • + + +
  • __('Logo structured data is enabled.') ?>
  • -
  • __('You have not enabled social schema structured data.') ?> getUrl('adminhtml/system_config/edit/section/creareseocore') ?>">__('Go enable it') ?>
  • +
  • __('You have not enabled logo structured data.') ?> getUrl('adminhtml/system_config/edit/section/creareseocore') ?>">__('Go enable it') ?>