Download the PHP package dljoseph/silverstripe-custom-error-page without Composer

On this page you can find all versions of the php package dljoseph/silverstripe-custom-error-page. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package silverstripe-custom-error-page

SilverStripe Custom Error Page Module

Custom Error Page Module for SilverStripe. Select which template to use as a custom 404 or other error page type.

Maintainer Contacts

Requirements

Installation Instructions

Installation can be done either by composer or by manually downloading a release.

Via composer

composer require "dljoseph/silverstripe-custom-error-page:*"

Manually

  1. Download the module from the releases page.
  2. Extract the file (if you are on windows try 7-zip for extracting tar.gz files
  3. Make sure the folder after being extracted is named 'custom-error-page'
  4. Place this directory in your sites root directory. This is the one with framework and cms in it.
  5. Visit <yoursite.com>/dev/build/?flush to rebuild the database.

Usage Overview

Once installed, the SilverStripe ErrorPage will be augmented with an additional field to allow the administrator to select which template to use for the error page.

Be sure to add the following line to your Page_Controller class in mysite/code/Page.php to allow template overrides:

`public $templates; //required for template overrides`

Templating

If you wish to use a different template for the ErrorPage, simply create a new SilverStripe template file, be sure to place it directly in the templates folder (above Layouts) and visit /?flush to flush the template cache. Afterwards, you must go to the ErrorPage in the CMS and manually select the template from the dropdown to tell SilverStripe which template to use to render the ErrorPage for display.

Known Issues

There are no known issues.


All versions of silverstripe-custom-error-page with dependencies

PHP Build Version
Package Version
Requires silverstripe/cms Version ~3.1
silverstripe/framework Version ~3.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dljoseph/silverstripe-custom-error-page contains the following files

Loading the files please wait ....