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:
@@ -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));
|
||||||
|
|||||||
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user