i-lateral / silverstripe-middleman
Provide CMS functionality to Framework modules
Installs: 714
Dependents: 0
Suggesters: 6
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Type:silverstripe-module
Requires
- silverstripe/framework: >=3.1
This package is auto-updated.
Last update: 2024-12-20 23:23:19 UTC
README
Module that acts as a connector for framework only modules, allowing them to benefit from CMS Code (such as $SiteConfig, $Menu etc).
This is intended to help with framework only modules that might be added to a CMS installed site.
Usage
Currently this module is designed to allow you to provide additional functionality to your controllers by providing Content Controller methods via an extension class.
You can add these methods by extending your controller, either in _config.php
Your_Controller::add_extension("Middleman_Controller");
Or in your config.yml
Your_Controller:
extensions:
- Middleman_Controller