From 4089ba01e0881c89a72332e13bc3a80b6bddec2a Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 29 Jun 2026 22:15:55 +0000
Subject: [PATCH] =DashboardManager overhaul. A bit easier to modify the output of pages. Still have to get the account pages to work as expected, as well as verify the integrations and others are working - but registrar/content pages work as expected. Also fixed up the table generation in CRUD.js and CRUDSkeleton.php
---
inc/blocks/_setup.php | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/inc/blocks/_setup.php b/inc/blocks/_setup.php
index cdae9f1..c02552a 100644
--- a/inc/blocks/_setup.php
+++ b/inc/blocks/_setup.php
@@ -20,17 +20,17 @@
new JVBase\blocks\MenuBlock();
}
- if (!empty(Registrar::getFeatured('is_faq'))) {
+ if (!empty(Registrar::withFeature('is_faq'))) {
require('FAQBlock.php');
new JVBase\blocks\FAQBlock();
}
- if (!empty(Registrar::getFeatured('is_glossary'))) {
+ if (!empty(Registrar::withFeature('is_glossary'))) {
require('GlossaryBlock.php');
new JVBase\blocks\GlossaryBlock();
}
- if (!empty(Registrar::getFeatured('is_timeline'))) {
+ if (!empty(Registrar::withFeature('is_timeline'))) {
require('TimelineBlock.php');
new JVBase\blocks\TimelineBlock();
}
@@ -47,7 +47,7 @@
// ]
// );
// }
-// if (!empty(Registrar::getFeatured('show_directory'))) {
+// if (!empty(Registrar::withFeature('show_directory'))) {
// error_log('Registering Directory List Block');
// register_block_type(
// JVB_DIR . '/build/list',
@@ -60,6 +60,10 @@
}
+require('SimpleCalendarBlock.php');
+new JVBase\blocks\SimpleCalendarBlock();
+
+
require('SummaryBlock.php');
new JVBase\blocks\SummaryBlock();
--
Gitblit v1.10.0