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

dev-master 2016-01-21 13:40 UTC

This package is auto-updated.

Last update: 2024-10-20 23:03:18 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