2017 © Pedro Peláez
 

silverstripe-vendormodule lumberjack

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

image

silverstripe/lumberjack

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  • Friday, June 29, 2018
  • by tractorcow
  • Repository
  • 15 Watchers
  • 28 Stars
  • 155,323 Installations
  • PHP
  • 13 Dependents
  • 0 Suggesters
  • 36 Forks
  • 5 Open issues
  • 25 Versions
  • 9 % Grown

The README.md

Silverstripe Lumberjack

CI Silverstripe supported module, (*1)

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS., (*2)

This is intended to be used in cases where the SiteTree grows beyond a manageable level. eg. blogs, news sections, shops, etc., (*3)

This module was born out of and decoupled from micmania1/silverstripe-blog., (*4)

Requirements

  • silverstripe/cms: 4.0+

Installation

composer require silverstripe/lumberjack

Features

  • Easily define which page types to show in the SiteTree and which to manage in a GridField.
  • Keep all functionality that comes with the CMS, including versioning and preview.

Usage

In this example we have a NewsHolder page which is the root of our news section, containing NewsArticles and NewsPages. We want to display NewsPage in the site tree but we want to display NewsArticles in a GridField., (*5)

<?php

namespace MyModule\PageTypes;

use Page;
use SilverStripe\Lumberjack\Model\Lumberjack;

class NewsHolder extends Page
{
    private static $extensions = [
        Lumberjack::class,
    ];

    private static $allowed_children = [
        NewsArticle::class,
        NewsPage::class,
    ];
}
<?php

namespace MyModule\PageTypes;

use Page;

class NewsArticle extends Page
{
    private static $show_in_sitetree = false;
    private static $allowed_children = [];
}
<?php

namespace MyModule\PageTypes;

use Page;

class NewsPage extends Page
{
    private static $show_in_sitetree = true;
}

If show_in_sitetree is not explicitly defined on a class, then it will default to true. You can add this setting to core classes and modules using the YAML config system. It is not recommended to add the LumberJack extension to the SiteTree or Page class., (*6)

SilverStripe\Blog\Model\Blog:
  extensions:
    - SilverStripe\Lumberjack\Model\Lumberjack

SilverStripe\Blog\Model\BlogPost:
  show_in_sitetree: false

The Versions

29/06 2018

2.0.x-dev

2.0.9999999.9999999-dev

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

18/06 2018

dev-master

9999999-dev

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

13/06 2018

2.0.0

2.0.0.0

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

03/04 2018

2.0.0-rc1

2.0.0.0-RC1

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

02/04 2018

dev-raissanorth-patch-1

dev-raissanorth-patch-1

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

18/10 2017

2.0.0-alpha1

2.0.0.0-alpha1

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

18/10 2017

1.x-dev

1.9999999.9999999.9999999-dev

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

18/10 2017

1.2.x-dev

1.2.9999999.9999999-dev

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

18/10 2017

1.1.x-dev

1.1.9999999.9999999-dev

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

02/10 2017

1.3.x-dev

1.3.9999999.9999999-dev

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

02/10 2017

1.3.3

1.3.3.0

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

21/09 2017

1.3.2

1.3.2.0

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

16/05 2017

1.3.0

1.3.0.0

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

16/05 2017

1.3.1

1.3.1.0

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

17/11 2016

1.2.0

1.2.0.0

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

17/08 2016

1.1.5

1.1.5.0

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

19/05 2016

1.1.4

1.1.4.0

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

19/11 2015

1.1.3

1.1.3.0

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

20/08 2015

1.1.2

1.1.2.0

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

04/06 2015

1.1.1

1.1.1.0

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

26/05 2015

1.1.0

1.1.0.0

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Michael Strong

05/03 2015

1.0.x-dev

1.0.9999999.9999999-dev

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

by Michael Strong

29/01 2015

1.0.1

1.0.1.0

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

by Michael Strong

27/01 2015

dev-addons-test

dev-addons-test

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

by Michael Strong

14/12 2014

1.0.0

1.0.0.0

A module to make managing pages in a GridField easy without losing any of the functionality that you're used to in the CMS.

  Sources   Download

BSD-2-Clause

The Requires

 

by Michael Strong