定制 nswdpc/silverstripe-exit-button 二次开发

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

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

nswdpc/silverstripe-exit-button

最新稳定版本:v1.2.0

Composer 安装命令:

composer require nswdpc/silverstripe-exit-button

包简介

Exit button for pages

README 文档

README

This Silverstripe module provides an "Exit Button" that can be included on any web page, either via the CMS using the per-page checkbox in Page > Settings, via a shortcode or programmatically.

What it does do

  • provides configurable templates
  • provides configurable exit URL, label and 'escape' functionality
  • page-level exit support
  • provides a shortcode for adding the button to any HTML editor field
  • replaces the location value
  • opens a configured website in a new tab

What it doesn't do

  • rewrite past browser history
  • invalidate a session on the site

Prior to introducing exit functionality, you should be aware of the limitations.

Implementation

  1. Add the {$ExitButton} template variable in a template (see the Elemental addition to this module for an example) or
  2. add an Exit Button shortcode to a relevant HTML editor field

Only add one exit button to a page in a consistent location.

Documentation

Installation

The only supported method of installation is via composer:

composer require nswdpc/silverstripe-exit-button

License

BSD-3-Clause

Maintainers

PD web team

Bugtracker

We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.

Please review the code of conduct prior to opening a new issue.

Security

If you have found a security issue with this module, please email digital[@]dpc.nsw.gov.au in the first instance, detailing your findings.

Development and contribution

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

Please review the code of conduct prior to completing a pull request.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2024-07-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固