wedevelopnl/silverstripe-admintoolbar

Admin toolbar for silverstripe

Installs: 287

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 5

Forks: 0

Open Issues: 1

Type:silverstripe-vendormodule

2.0.6 2024-05-22 13:17 UTC

This package is auto-updated.

Last update: 2024-10-22 14:24:52 UTC


README

Introduction

Display a toolbar with admin options on the frontend

Requirements

  • SilverStripe CMS ^4.0

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