承接 signify-nz/silverstripe-environmentindicator 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

signify-nz/silverstripe-environmentindicator

最新稳定版本:2.0.0

Composer 安装命令:

composer require signify-nz/silverstripe-environmentindicator

包简介

Vendor module to add an environment indicator in the CMS as well as information bar for the front-end.

README 文档

README

Scrutinizer Code Quality

Environment Indicator

The Environment Indicator Vendor Module reads the SS_ENVIRONMENT_TYPE variable in your .env file (dev, test or live) and loads the applicable javascript to insert a custom div above the menu header in the CMS Admin interface.

The EnvBarExtension also inserts a custom element into the HTML of all pages to provide an information bar detailing the environment and page version. If the logged-in user has access to pages in the CMS, the bar acts as a link to open the page in the CMS via a new browser tab.

The bar does not appear in live mode for unauthorised users.

Requirements

Installation

Composer:

    composer require signify-nz/silverstripe-environmentindicator

Documentation

No further configuration is required.

Customisation can be achieved by editing the EnvBar.ss template or the envbar- .js and .css files. Functional tests are available in the tests directory. These will need to be updated if you modify the template.

Usage

This module performs an informative function only. No special usage instructions are available.

Live Published Anonymous Live Published Editor Live Draft Editor Live CMS Page Live CMS Tree

Test Published Anonymous Test Published Editor Test Draft Editor Test CMS Page Test CMS Tree

Dev Published Anonymous Dev Published Editor Dev Draft Editor Dev CMS Page Dev CMS Tree

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 9
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2020-02-03