2017 © Pedro Peláez
 

silverstripe-vendormodule silverstripe-rightsidebar

Allows adding a right-hand sidebar in the CMS to hold options/fields for the currently edited record

image

micschk/silverstripe-rightsidebar

Allows adding a right-hand sidebar in the CMS to hold options/fields for the currently edited record

  • Monday, July 9, 2018
  • by micschk
  • Repository
  • 5 Watchers
  • 11 Stars
  • 5,666 Installations
  • CSS
  • 1 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 6 Versions
  • 4 % Grown

The README.md

Silverstripe CMS Right Sidebar

Requirements

  • SilverStripe CMS & Framework 4+

Overview

Allows adding a right-hand sidebar in the CMS to hold options/fields for the currently edited record. Abstracted out from the Silverstripe Blog module for use on other pages as well (blog module by ao. Michael Strong/Silverstripe), (*1)

RightSidebar behaves like a tab (like tab it extends CompositeField)., (*2)

Add use before class declaration:, (*3)

use Restruct\RightSidebar\RightSidebar;

Usage (in getCMSfields):


$fields->addFieldsToTab('Root.Main', RightSidebar::create('Options')); $fields->addFieldsToTab('Root.Main.Options', array( $publishDate = DatetimeField::create("PublishDate", "Publish Date"), TextField::create('Author') )); // Add to Main tab (fixed width) and render an outer template to deal with our custom layout $fields->addFieldsToTab('Root.Main', RightSidebar::create('Options')); $fields->fieldByName('Root')->setTemplate('Restruct\RightSidebar\Forms\RightSidebarInner'); // OR: Add it full-screen (collapsible) and render an outer template to deal with our custom layout $fields->insertBefore(RightSidebar::create('Options'), 'Root'); $fields->fieldByName('Root')->setTemplate('Restruct\RightSidebar\Forms\RightSidebar');

The Versions

09/07 2018

dev-master

9999999-dev

Allows adding a right-hand sidebar in the CMS to hold options/fields for the currently edited record

  Sources   Download

BSD-2-Clause

The Requires

 

by Avatar micschk

silverstripe silverstripe 4 right sidebar

09/07 2018

2.0

2.0.0.0

Allows adding a right-hand sidebar in the CMS to hold options/fields for the currently edited record

  Sources   Download

BSD-2-Clause

The Requires

 

silverstripe silverstripe 4 right sidebar

28/08 2017

1.2.1

1.2.1.0

Allows adding a right-hand sidebar in the CMS to hold options/fields for the currently edited record

  Sources   Download

BSD-2-Clause

The Requires

 

by Avatar micschk

silverstripe

06/05 2015

1.2

1.2.0.0

Allows adding a right-hand sidebar in the CMS to hold options/fields for the currently edited record

  Sources   Download

BSD-2-Clause

The Requires

 

by Avatar micschk

silverstripe

06/05 2015

1.1

1.1.0.0

Allows adding a right-hand sidebar in the CMS to hold options/fields for the currently edited record

  Sources   Download

BSD-2-Clause

The Requires

 

by Avatar micschk

silverstripe

05/05 2015

1.0

1.0.0.0

Allows adding a right-hand sidebar in the CMS to hold options/fields for the currently edited record

  Sources   Download

BSD-2-Clause

The Requires

 

by Avatar micschk

silverstripe