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

---
 jvb.php |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/jvb.php b/jvb.php
index 16816ed..47f2f35 100644
--- a/jvb.php
+++ b/jvb.php
@@ -259,7 +259,8 @@
 add_action('plugins_loaded', 'jvb_site_definitions',1);
 add_action('plugins_loaded', 'jvb_registrar_definitions',2);
 add_action('plugins_loaded', 'jvb_field_definitions', 3);
-add_action('init', 'jvbLoadBase', 1);
+add_action('plugins_loaded', 'jvb_options_definitions',3);
+add_action('init', 'jvbLoadBase', 2);
 add_action('init', 'jvb_integration_definitions',3);
 add_action('init', 'jvb_field_section_definitions', 5);
 /**
@@ -279,6 +280,10 @@
 	do_action('jvb_define_fields');
 }
 
+function jvb_options_definitions():void
+{
+    do_action('jvb_define_options');
+}
 
 function jvbLoadBase():void
 {
@@ -579,7 +584,7 @@
 //add_action('wp_head', 'jvbDumpIt');
 function jvbDumpIt()
 {
-
+//	jvbDump(Registrar::getInstance('foodie')->getFields());
 }
 
 add_action('after_setup_theme', 'jvbImageSize');

--
Gitblit v1.10.0