Fix missing asset registry error: Replace template.global.base with template.base

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-30 05:27:53 +00:00
parent 50b9298a69
commit b1ce13ca8b
2 changed files with 3 additions and 4 deletions

View File

@@ -91,8 +91,8 @@ $wa->useStyle('template.vendor.social-media-demo'); // css/user.css
$wa->useStyle('vendor.bootstrap-toc'); $wa->useStyle('vendor.bootstrap-toc');
// Optional demo/showcase CSS (available for use, not loaded by default) // Optional demo/showcase CSS (available for use, not loaded by default)
// To use: Add 'template.global.social-media-demo' to your article/module // To use: Create the CSS file and register it in joomla.asset.json, then add to your article/module
// $wa->useStyle('template.global.social-media-demo'); // Example: $wa->useStyle('template.social-media-demo');
// Color theme (light + optional dark) // Color theme (light + optional dark)
$colorLightKey = strtolower(preg_replace('/[^a-z0-9_.-]/i', '', $params_LightColorName)); $colorLightKey = strtolower(preg_replace('/[^a-z0-9_.-]/i', '', $params_LightColorName));

View File

@@ -72,8 +72,7 @@ $templatePath = 'media/templates/site/mokocassiopeia';
// =========================== // ===========================
// Core template CSS // Core template CSS
$wa->useStyle('template.global.base'); // css/template.css $wa->useStyle('template.base'); // css/template.css
$wa->useStyle('template.global.social-media-demo'); // css/global/social-media-demo.css
// Optional vendor CSS // Optional vendor CSS
$wa->useStyle('vendor.bootstrap-toc'); $wa->useStyle('vendor.bootstrap-toc');