andrelohmann-silverstripe/framework-errorpage-patch
Composer 安装命令:
composer require andrelohmann-silverstripe/framework-errorpage-patch
包简介
Patches silverstripe framework core to create custom error pages when cms-module not in use.
README 文档
README
Maintainers
- Andre Lohmann (Nickname: andrelohmann)
Requirements
Silverstripe 3.7.*
Introduction
Patches silverstripe framework core to create custom error pages when cms-module not in use.
Installation
always install the Version number matching your silverstripe framework version
put the follwoing post install and post updates scripts into your composer.json
"scripts": {
"post-install-cmd": [
"cp vendor/andrelohmann-silverstripe/framework-errorpage-patch/* -r framework/"
],
"post-update-cmd": [
"cp vendor/andrelohmann-silverstripe/framework-errorpage-patch/* -r framework/"
]
},
Usage
create following files:
/YOURPROJECTFOLDER/templates/ErrorPage.ss
/YOURPROJECTFOLDER/templates/Layout/ErrorPage.ss
These Files will build your custom Error Page
统计信息
- 总下载量: 906
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-12-04