superinteractive/statamic-super-admin-toolbar 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

superinteractive/statamic-super-admin-toolbar

最新稳定版本:1.2.0

Composer 安装命令:

composer require superinteractive/statamic-super-admin-toolbar

包简介

README 文档

README

Statamic 5.0+

Super Admin Toolbar

Super Admin Toolbar

A powerful admin toolbar for Statamic 5 that enhances content management workflow for editors and copywriters. It provides quick access to editing tools, SEO settings, and site management directly from your frontend. Perfect for those coming from WordPress and missing the admin bar!

Features

  • Admin Toolbar: Displays a toolbar for quick administrative actions when a user with access cp is signed in.
  • Quick Edit Links: Easily edit the current entry or quickly create a new entry in the same collection.
  • Site Switcher: Seamlessly switch between multi-sites right from the toolbar.
  • Static Cache Compatible: Works seamlessly with both full and half measure static caching approaches.
  • SEO Pro Integration: Convenient shortcuts to SEO Pro settings for optimizing your content.

Installation

Require the addon via Composer:

composer require superinteractive/statamic-super-admin-toolbar

Ensure your layout contains the CSRF token meta tag:

Antlers:

<meta name="csrf-token" content="{{ csrf_token }}">

Blade:

<meta name="csrf-token" content="{{ csrf_token() }}">

Finally, include the toolbar in your layout file — ideally before the closing </head> tag:

Antlers:

{{ super_admin_toolbar }}

Blade:

@superAdminToolbar

Usage

Once installed, the Super Admin Toolbar automatically loads for users with the access cp permission. The toolbar is dynamically injected using JavaScript, ensuring compatibility with Statamic's full and half measure static caching.

Supported Addons

The Super Admin Toolbar integrates with the following Statamic addons:

  • SEO Pro: Quick access to SEO settings directly from the toolbar when viewing content on your site.

Support

For issues or feature requests, please visit the GitHub issues page.

License

The MIT License (MIT). Please see the License File for more information.

统计信息

  • 总下载量: 539
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-09