定制 techdivision/notfound 二次开发

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

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

techdivision/notfound

最新稳定版本:2.0.1

Composer 安装命令:

composer require techdivision/notfound

包简介

Provides a configurable 404 error for Neos CMS. This Package comes with content dimensions support!

README 文档

README

This Package provides a configurable 404 error page for TYPO3 Neos with dimensions support.

Installation

For Neos 1.2.* please add the following package to your composer.json

{
    "require": {
        "techdivision/notfound": "1.0.*"
    },
}

For Neos 2.0.* please use

{
    "require": {
        "techdivision/notfound": "2.0.*"
    },
}

Install the package:

composer update techdivision/notfound

Configuration

to enable this package you need to set the following settings in your Site or Project Settings.yaml

TechDivision:
  NotFound:
    enable: true
    defaultUriSegment: '404'

enable: enables or disables the module defaultUriSegment: the node path uri segment of your 404 site

Optional

if you are using a defaultUriSuffix (in most cases .html) you need to add a additional route in your Routes.yaml at the end of your Routes.yaml

##
# TechDivision.NotFound Subroutes - only required if the 'TYPO3 Neos' route has a 'defaultUriSuffix' suffix
##
-
  name: 'TechDivision.NotFound'
  uriPattern: '<TechDivisionNotFoundSubroutes>'
  subRoutes:
    'TechDivisionNotFoundSubroutes':
      package: 'TechDivision.NotFound'

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 12
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2015-08-20