zazama / onepage
A Silverstripe 4 module to easily create OnePagers by using SiteTree/Pages.
1.0.1
2025-02-06 20:18 UTC
Requires
- silverstripe/framework: ^4.0 || ^5.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).