zazama / onepage
A Silverstripe 4 module to easily create OnePagers by using SiteTree/Pages.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:silverstripe-vendormodule
Requires
- silverstripe/framework: ^4.0
README
Introduction
OnePage allows you to create OnePagers by adding a OnePage page-type that allows you to add custom child pages that will be rendered on one page.
Requirements
- silverstripe/framework ^4.0
This module was only tested on the newest 4.7.3.
Installation
composer require zazama/onepage
Usage
All you have to do is extend BaseChildPage and you're ready to go!
use Zazama\OnePage\BaseChildPage; class ContentChildPage extends BaseChildPage { /*...*/ }
Then create a Layout template for your new Page (ContentChildPage in this example).