03.09.01 — mod_custom hero override, palette starter files, updated descriptions #84

Merged
jmiller-moko merged 17 commits from dev/03.09.01 into main 2026-03-24 21:48:07 +00:00
jmiller-moko commented 2026-03-18 00:30:30 +00:00 (Migrated from github.com)

Summary

  • mod_custom hero layout (src/html/mod_custom/hero.php): new template override mirroring Cassiopeia's banner-overlay pattern, with background image support via WebAssetManager and moduleclass_sfx passthrough
  • Custom palette starters (src/templates/light.custom.css, dark.custom.css): full variable reference files now ship with the template so users have a ready-to-copy starting point
  • Template description updated across templateDetails.xml, en-GB and en-US language files: corrected palette source paths, added Custom CSS & JavaScript section (user.css / user.js), linked docs to GitHub repo docs/ directory
  • Housekeeping: .claude/settings.local.json added to .gitignore and untracked

Test plan

  • Install/upgrade template and verify src/templates/ files land at templates/mokocassiopeia/templates/
  • Assign a Custom Module to a banner position, set layout to "hero" — confirm .banner-overlay wrapper and overlay div render correctly
  • Set a background image on the module — confirm inline CSS is injected via WebAssetManager
  • Set a Module Class in Module Manager — confirm class appears on the outer div
  • Check template description in Joomla admin shows updated text and working docs link

🤖 Generated with Claude Code

## Summary - **mod_custom hero layout** (`src/html/mod_custom/hero.php`): new template override mirroring Cassiopeia's banner-overlay pattern, with background image support via `WebAssetManager` and `moduleclass_sfx` passthrough - **Custom palette starters** (`src/templates/light.custom.css`, `dark.custom.css`): full variable reference files now ship with the template so users have a ready-to-copy starting point - **Template description** updated across `templateDetails.xml`, `en-GB` and `en-US` language files: corrected palette source paths, added Custom CSS & JavaScript section (`user.css` / `user.js`), linked docs to GitHub repo `docs/` directory - **Housekeeping**: `.claude/settings.local.json` added to `.gitignore` and untracked ## Test plan - [ ] Install/upgrade template and verify `src/templates/` files land at `templates/mokocassiopeia/templates/` - [ ] Assign a Custom Module to a banner position, set layout to "hero" — confirm `.banner-overlay` wrapper and overlay div render correctly - [ ] Set a background image on the module — confirm inline CSS is injected via WebAssetManager - [ ] Set a Module Class in Module Manager — confirm class appears on the outer div - [ ] Check template description in Joomla admin shows updated text and working docs link 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoCassiopeia#84