thewebmen/silverstripe-admintoolbar

This package is abandoned and no longer maintained. The author suggests using the wedevelopnl/silverstripe-admintoolbar package instead.

Admin toolbar for silverstripe

Installs: 517

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 5

Forks: 0

Open Issues: 2

Type:silverstripe-vendormodule

2.0.5 2024-04-11 14:07 UTC

This package is auto-updated.

Last update: 2024-04-11 14:07:57 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