atwx/silverstripe-element-overview 问题修复 & 功能扩展

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

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

atwx/silverstripe-element-overview

最新稳定版本:v1.0.0

Composer 安装命令:

composer require atwx/silverstripe-element-overview

包简介

Adds an Element Overview ModelAdmin to SilverStripe CMS, listing all elements with links to their pages.

README 文档

README

Adds an Element Overview ModelAdmin to the SilverStripe CMS, listing all Elemental content blocks across all pages in a searchable, filterable table.

Features

  • Lists all elements site-wide, sorted by type and title
  • Filter by element title (partial match) and element type (dropdown)
  • Filter state is persisted in the browser URL
  • Links to the frontend page and the CMS backend page for each element
  • CSV export with type, title, page name, frontend URL and backend URL
  • Compatible with Fluent: only shows elements for the currently active locale
  • Works without Fluent — all elements are shown when Fluent is not installed

Requirements

  • SilverStripe Framework ^6
  • SilverStripe Admin ^3
  • DNADesign Silverstripe Elemental ^6

Installation

composer require atwx/silverstripe-element-overview

After installation, run a database build:

vendor/bin/sake db:build --flush

Usage

The module registers itself automatically. After installation, a new Element Overview entry appears in the CMS navigation (icon: layout blocks).

Columns

Column Description
Type Element type (e.g. "Accordion", "Text & Image")
Element title The element's title field
Page Link to the frontend page (opens in new tab)
Page (Backend) Link to the page in the CMS editor (opens in new tab)

Search & Filter

  • Element title — partial text search
  • Type — dropdown to filter by element class

CSV Export

Click Export to CSV (top left) to download all currently filtered elements as a CSV file. The export includes:

  • Type
  • Element title
  • Page (name)
  • Page URL (frontend)
  • Page Backend URL (CMS)

Compatibility Note

This module requires league/csv <9.27 due to a deprecation in GridFieldExportButton in SilverStripe Framework. Add the following to your project's composer.json if the export produces errors:

"conflict": {
    "league/csv": ">=9.27"
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2026-05-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固