afbora / kirby-widgets
此包已被废弃,不再维护。未建议替代包。
Kirby 3 的面板小工具
1.0.0
2020-03-11 09:23 UTC
Requires
- php: ^7.2
- getkirby/composer-installer: ^1.1
This package is auto-updated.
Last update: 2022-07-23 20:35:49 UTC
README
自 Kirby 3.7 支持“统计”部分以来,此存储库已被存档。
显示您想要在 Kirby 3 面板中查看的数据。
预览
安装
使用 composer 安装
composer require afbora/kirby-widgets
作为 git 子模块添加
git submodule add https://github.com/afbora/kirby-widgets.git site/plugins/kirby-widgets
用法
sections: widgetSalesToday: type: widget text: en: Today Sales tr: Bugünkü Satış Tutarı icon: smile query: site.orders.completedOrdersTotal(date("Y-m-d", strtotime("-1 day"))) default: 0 before: $ after: USD