wedevelopnl / silverstripe-admintoolbar

Silverstripe 4 admin toolbar for the frontend
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

SilverStripe Admin Toolbar

Introduction

Display a toolbar with admin options on the frontend

Requirements

Installation

composer require "wedevelopnl/silverstripe-admintoolbar"

How to use

Place $AdminToolbar in your Page.ss to display the admin toolbar.

Options

Disable buttons using the config:

WeDevelop\AdminToolbar\AdminToolbar:
  hide_cache_button: true
  hide_stage_button: false
  hide_edit_button: false

Add an extensions on WeDevelop\AdminToolbar\AdminToolbar with the method addExtraButtonsHTML(&$extraButtonsHTML) to add exta buttons