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/managers/SEO/SEOAdminPage.php |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/inc/managers/SEO/SEOAdminPage.php b/inc/managers/SEO/SEOAdminPage.php
index ec1f850..bf0ef02 100644
--- a/inc/managers/SEO/SEOAdminPage.php
+++ b/inc/managers/SEO/SEOAdminPage.php
@@ -27,6 +27,7 @@
 
 
         // Add to JVB dashboard
+		add_action(BASE.'dashboardPage', [$this, 'addDashboardSection'], 10, 1);
         add_filter('jvbDashboardPage', [$this, 'addDashboardSection'], 20, 2);
 		add_action('admin_enqueue_scripts', [$this, 'enqueueScripts']);
     }
@@ -60,14 +61,13 @@
     /**
      * Add section to JVB dashboard
      */
-    public function addDashboardSection(string $content, string $page): string
+    public function addDashboardSection(string $page):void
     {
-		if ($page !== 'SEO') {
-			return $content;
+		jvbDump($page);
+		if ($page !== 'seo') {
+			return;
 		}
-        ob_start();
         $this->renderAdminPage();
-        return ob_get_clean();
     }
 
     /**

--
Gitblit v1.10.0