friendsofsilverstripe / handypages
A handy set of page types and modules for building a new website.
Fund package maintenance!
spekulatius
www.buymeacoffee.com/spekulatius
Installs: 6
Dependents: 0
Suggesters: 1
Security: 0
Stars: 2
Watchers: 2
Forks: 2
Open Issues: 1
Type:silverstripe-module
Requires
- php: ^5.4
- friendsofsilverstripe/backendmessages: ~0.1
- friendsofsilverstripe/inheritage-by-sitetree: ~0.1
- heyday/silverstripe-colorpalette: ~1.1
- heyday/silverstripe-menumanager: ~2.2
- ninty9notout/silverstripe-colourpicker: dev-master
- sheadawson/silverstripe-blocks: ~1.0
- sheadawson/silverstripe-zenvalidator: ^0.5.1
- silverstripe-australia/grouped-cms-menu: ^2.0
- silverstripe/framework: ~3.0
- unclecheese/display-logic: ~1.3
- undefinedoffset/sortablegridfield: ^0.6.2
Suggests
- friendsofsilverstripe/seo-suite: Set of SilverStripe modules for SEO.
- friendsofsilverstripe/silverstripe-maintenance-suite: Helps keeping your application up to date.
README
A collection of useful PHP classes and SilverStripe modules for SS 3.x to get a new website started quickly.
The generic page type comes with the following deactivatable options for inputs:
- alternative title and intro (including min/max-length validation)
- an image per page (including width/height validation)
- brand colors (only adjustable by admins) and a option to choose a color per page
- configuration switch to use the blocks module.
and the following modules:
- Display logic
- SortableGridField
- heyday' menu manager
- ZenValidator to validate inputs of content-editors and website users
- Inheritage of values from parent page types
- Backendmessages for message boxes.
How to use this?
Simply extend your custom page types of this GenericPage:
class MyNewPage extends GenericPage
{
/**
* here goes your actual code...
*/
}
and then your can configure
MyNewPage:
useBlocksModule: true
hideCMSOptions:
- AlternativeTitle
intro:
minLength: 100
maxLength: 1000
image:
width: 200
height: 300
Want it? Installation
Just run:
# install the package
composer require friendsofsilverstripe/handypages
# add run dev/build
php ./framework/cli-script.php dev/build