Download the PHP package innoweb/silverstripe-default-home without Composer
On this page you can find all versions of the php package innoweb/silverstripe-default-home. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download innoweb/silverstripe-default-home
More information about innoweb/silverstripe-default-home
Files in innoweb/silverstripe-default-home
Package silverstripe-default-home
Short Description A simple module that creates a Home Page per website or MultiSites Site.
License BSD-3-Clause
Homepage https://github.com/xini/silverstripe-default-home
Informations about the package silverstripe-default-home
Silverstripe Default Home
Overview
This modules makes sure that the homepage for a site is always accessible through the URL segment
configured in SilverStripe\CMS\Controllers\RootURLController::default_homepage_link
(usually 'home').
The module also makes sure that the homepage exists and can't be unpublished or deleted.
It also hides the homepage from menus (ShowInMenus=false
).
This module supports single site as well as multisites and configured-multisites setups.
Requirements
- SilverStripe CMS 5.x
Note: this version is compatible with Silverstripe 5. For Silverstripe 4, please see the 2 release line.
Installation
Install the module using composer:
Then run dev/build.
Configuration
For this module to work you need to create a homepage class in your project and this module's HomePageExtension to it:
Then, the following configuration value needs to be set:
License
BSD 3-Clause License, see License