diff --git a/README.md b/README.md index dac1940..a29a0c5 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,42 @@ -# "Homepage for domain" module - -## Overview +# Homepage for domain module Allows to designate a page anywhere in the tree as the homepage for a specific domain, overruling the usual homepage (which is identified by the "home" URLSegment). +This module replaces `silverstripe/homepagefordomain`, which has been abandoned. + ## Requirements * SilverStripe 4 + +## Installation + +Using composer + +`composer require twohill/silverstripe-homepagefordomain` -## Maintainer + +## License +BSD 3-Clause "New" or "Revised" License. See [License](license.md) + +## Maintainers * Al Twohill + +## Bugtracker + +Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique. + +If the issue does look like a new bug: + + * Create a new issue + * Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here. + * Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules. + +Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker. + + +## 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. diff --git a/composer.json b/composer.json index 4e021ec..7c9bbdd 100644 --- a/composer.json +++ b/composer.json @@ -16,11 +16,6 @@ "silverstripe/homepagefordomain": "*" }, "authors": [ - { - "name": "Ingo Schommer", - "homepage": "http://chillu.com", - "email": "ingo@silverstripe.com" - }, { "name": "Al Twohill", "homepage": "https://al.twohill.nz", diff --git a/license.md b/license.md new file mode 100644 index 0000000..a6a9ddf --- /dev/null +++ b/license.md @@ -0,0 +1,17 @@ +Copyright (c) 2019, Twohill & Co Ltd +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of SilverStripe nor the names of its contributors may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY +OF SUCH DAMAGE.