afbora/kirby-widgets

This package is abandoned and no longer maintained. No replacement package was suggested.

Panel widgets for Kirby 3

1.0.0 2020-03-11 09:23 UTC

This package is auto-updated.

Last update: 2022-07-23 20:35:49 UTC


README

This repository has been archived since Kirby 3.7 supports stats section.

Shows the data you want to see in the Kirby 3 panel.

Preview

Kirby Builder Screenshot

Installation

Installation with composer

composer require afbora/kirby-widgets

Add as git submodule

git submodule add https://github.com/afbora/kirby-widgets.git site/plugins/kirby-widgets

Usage

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