定制 o-ba/custom_dashboard_widgets 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

o-ba/custom_dashboard_widgets

Composer 安装命令:

composer require o-ba/custom_dashboard_widgets

包简介

Set of custom widgets for the new dashboard module. Let's start creating your own!

关键字:

README 文档

README

1. Introduction

This extension adds a set of widgets for the new dashboard module, available since TYPO3 v10.3.

It however only works with TYPO3 v10.4 and higher as the widget registration was reworked in this release.

Background

This extensions evolves from t3security_news_widget which is outdated as it uses the old way to register widgets and was however already implemented as a core widget with this patch.

2. Installation

Installation with Composer

If you are using a composer based TYPO3 project just run composer require o-ba/custom_dashboard_widgets.

Installation from TER (TYPO3 Extension Repository)

You can download and install the extension in the extension manager module or download the ZIP file from typo3.org and upload it in the extension manager module.

First steps

After the installation switch to the dashboard module.

If you have not set any dashboard yet, TYPO3 will create two dashboards automatically, which are defined in the presets. The default dashboard, shipped by core and the custom dashboard including all custom widgets from this extension.

If you have already created some dashboards, simply create a new one by clicking the + button in the dashboard select tab bar and select Custom dashboard. in the wizard. This will create the same dashboard mentioned before with all widgets from this extension.

You can also add some custom widgets to already existing dashboards. This is explained in detail in the official documentation.

3. Further notice

This extension is intended as an example extension for

  • adding custom widgets (including custom templates, custom stylesheets, ...)
  • adding custom data providers,
  • adding custom button providers,
  • extending core API classes,
  • adding custom widget groups,
  • adding custom dashboard presets,
  • adding TSconfig presets for backend users,
  • and some more ...

You can find more information in the official documentation.

Important

The included widgets and data providers don't evaluate any permissions! Therefore most of the widgets shouldn't be activated for editors and only be used by admins.

Included widgets

  • extensionInformation: Simple information widget with a custom template using an extended button provider
  • failedSchedulerTasks: Displays failed tasks and links to the module by using the extended button provider
  • recentlyCreatedPages: Displays a defined number of recently created pages with an edit link
  • recentlyModifiedContent: Displays a defined number of recently modified content with an edit link
  • localExtensions: Displays the amount of 3rd party extensions in the installation
  • typeOfPages: Doughnut chart showing amount of pages per page type
  • typeOfContent: Bar chart showing amount of contet elements per content type
  • t3blog: Listing of blog articles from typo3.com
  • contribute: Information widget with information on how to contribute

Included DataProvider

  • ExtendedButtonProvider: Extends the default button provider for an icon and the possibility to link to modules
  • FailedSchedulerTasksDataProvider: A list data provider which fetches failed scheduler tasks
  • ListOfRecordsDataProvider: Provides a list of records by a given table, limit and order
  • LocalExtensionsDataProvider: Provides the number of local extensions present in the system
  • RecordsByTypeDataProvider: Provides chart data containing the amount of records for each record type

Extended API classes

  • WidgetApi: Added a larger set of colors and a shuffle option

Dependencies

Following widgets require additional TYPO3 packages which are suggested while installing this extension via composer.

  • failedSchedulerTasks: Requires typo3/cms-scheduler
  • localExtensions: Requires typo3/cms-extensionmanager

The mentioned widgets are configured through services.php instead of services.yaml to only make them available if the required dependency is installed.

Screenshots

Custom Dashboard 1 Custom Dashboard 2 Custom Dashboard Selection

4. Credits

Icons used in this repository are made by Freepik from www.flaticon.com

o-ba/custom_dashboard_widgets 适用场景与选型建议

o-ba/custom_dashboard_widgets 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 58.28k 次下载、GitHub Stars 达 7, 最近一次更新时间为 2020 年 04 月 13 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「TYPO3 CMS」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 o-ba/custom_dashboard_widgets 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 o-ba/custom_dashboard_widgets 我们能提供哪些服务?
定制开发 / 二次开发

基于 o-ba/custom_dashboard_widgets 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 58.28k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 8
  • 依赖项目数: 0
  • 推荐数: 1

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2020-04-13