定制 siteimprove/cms-plugin-ezplatform 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

siteimprove/cms-plugin-ezplatform

Composer 安装命令:

composer require siteimprove/cms-plugin-ezplatform

包简介

Bridges the gap between eZ Platform and the Siteimprove Intelligence Platform

README 文档

README

The new Siteimprove plugin bridges the gap between the eZ Platform and the Siteimprove Intelligence Platform. Thanks to the seamless integration, you are now able to put your Siteimprove results to use where they are most valuable – during your content creation andediting process.

With analytics and content insights always at hand, contributors can test, fix, and optimize their work continuously. Once the detected issues have been assessed, you can directly re-recheck the relevant page when it is published and see if further actions are needed. Delivering a superior digital experience has never been more efficient and convenient.

Installation instructions

Requirements

  • eZ Publish 5.4+ / eZ Publish Community Project 2014.07+
  • PHP 5.6+

Use Composer

Using composer you can run this command line to install the bundle:

$ composer require siteimprove/cms-plugin-ezplatform

Register the bundle

Activate the bundle in (ezpublish|app)\(EzPublish|app)Kernel.php file.

// (ezpublish|app)\(EzPublish|app)Kernel.php

public function registerBundles()
{
   ...
   $bundles = array(
       new FrameworkBundle(),
       ...
       new Siteimprove\Bundle\SiteimproveBundle\SiteimproveBundle(),
   );
   ...
}

Add the routes

# (ezpublish|app)/config/routing.yml

_siteimprove_routes:
    resource: "@SiteimproveBundle/Controller"
    type:     annotation
    prefix:   /_siteimprove
    

Optionnal

This bundle does server-to-server call to the Siteimprove Intelligence Platform, if for an reason your server is behind a HTTP Proxy you can set up the credentials in your config.yml

# (ezpublish|app)/config/config.yml

siteimprove:
    proxy_settings:
        host: proxy.net
        port: 8080
        user: user
        pass: password

How it works

Overview

Siteimprove Intelligence Platform is in charge to check the pages that you are browsing and/or editing. To do that, the plugin adds a Javascript tag that will communicate (client-side) with Siteimprove Intelligence Platform.

You will need credentials to "Sign-in" inside the little widget, that will appear on the right of the screen.

Plugin

You can decide where to display it in your Siteimprove profile.

A server-to-server call is made after publication to warn Siteimprove Intelligence Platform that pages have changed.

Technically

Here a basic diagram that shows the flow.

Flow

eZ Publish Legacy Specificities

Install the Legacy extension

php (ezpublish|app)/console ezpublish:legacybundles:install_extensions
cd ezpublish_legacy
php bin/php/ezpgenerateautoloads.php -e

Configure a workflow

In order to let Siteimprove Intelligence Platform knows that a content has been updated you need to setup a workflow. To do that you need to go in your Administraton Interface.

Step 1 Step 2 Step 3 Step 4

Then you need to trigger this workflow. Step 5

If you have already a workflow set, you need to create a Multiplexer.

License

License

统计信息

  • 总下载量: 1.97k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 6
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-06-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固