xddesigners / silverstripe-shop-dashboard
CMS dashboard panels (recent orders, members, submitted forms, sales per month) for Silverstripe CMS 6, built on plastyk/dashboard.
Package info
github.com/xddesigners/silverstripe-shop-dashboard
Type:silverstripe-vendormodule
pkg:composer/xddesigners/silverstripe-shop-dashboard
Requires
- php: ^8.3
- plastyk/dashboard: ^5
- silvershop/core: *
- silverstripe/admin: ^3
- silverstripe/cms: ^6
- silverstripe/framework: ^6
- silverstripe/userforms: ^7
Requires (Dev)
None
Suggests
- dnadesign/elemental-userforms: Adds CMS edit links for form submissions on elemental form blocks
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-15 11:51:56 UTC
README
Extra CMS dashboard panels for Silverstripe CMS 6, built on top of
plastyk/dashboard ^5. It adds shop/site
overview panels to the admin dashboard and wires up "edit" links back into the CMS.
Panels shipped:
| Panel | Shows | Source |
|---|---|---|
| Recent orders | Last 12 non-cart orders from the past 6 months | silvershop/core |
| Recent submitted forms | Last 8 submissions from the past month | silverstripe/userforms |
| Sales per month | Paid/Sent/Complete/Processing order count + total per month (EUR) | silvershop/core |
| Recent members | Last 10 members created in the past 2 months | silverstripe/framework |
Every panel is permission-gated (CMS_ACCESS_CMSMain) and guards its optional dependency
with class_exists(), so it degrades quietly if a source module isn't present.
Requirements
- PHP
^8.3 silverstripe/framework^6,silverstripe/cms^6,silverstripe/admin^3plastyk/dashboard^5silvershop/coreandsilverstripe/userforms^7(the shop/forms panels build on these)
Optional: dnadesign/elemental-userforms — adds CMS edit links for submissions on elemental
form blocks.
Installation
composer require xddesigners/silverstripe-shop-dashboard
Then flush: ?flush=all.
What it does
- Auto-discovered panels.
plastyk/dashboard5.x auto-discovers everyDashboardPanelsubclass; this module adds four under theXD\ShopDashboard\Panelsnamespace. - Layout config.
_config/dashboard.ymlplaces the four custom panels full-width (columns: 12) above the native "recently edited/created pages" panels (side by side), and disables plastyk'sQuickLinksPanelandMoreInformationPanel. Overridecolumns/sortper panel to re-arrange. - Row edit links.
CMSEditLink()extensions onSilverShop\Model\Order,SilverStripe\Security\MemberandSilverStripe\UserForms\...\SubmittedFormmake each row link straight to its CMS edit screen. - Styling.
DashboardAdminExtensionblocks plastyk'sdashboard.cssand loads this module's instead (accent colour viapanel_accent_color).
Configuration
Plastyk\Dashboard\Admin\DashboardAdmin: contact_email: 'info@example.com' contact_name: 'Your name' panel_accent_color: '#ED7D00' # Re-arrange or hide panels (columns = 12-col grid width, sort = order): XD\ShopDashboard\Panels\RecentOrdersPanel: columns: 12 sort: 10 # Plastyk\Dashboard\Panels\QuickLinksPanel: # enabled: false
License
BSD-3-Clause. See LICENSE.