Commit Graph

11 Commits

Author SHA1 Message Date
81e89db88c Scope TOC to article body only and use language string for title
- Move data-toc-scope from outer column to .article-content div so
  the TOC only sees headings inside the article body, ignoring page
  headers and article titles.
- Pass $scope explicitly in the JS auto-init so headings outside the
  article content are never picked up.
- Replace hardcoded article title in TOC heading with a
  TPL_MOKOCASSIOPEIA_TOC_TITLE language string ("Table of Contents").
- Add Text use statement to both toc-left.php and toc-right.php.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 11:28:45 -05:00
93e9d3a88c Auto-enable dev mode when Joomla debug is on; fix TOC heading detection
- Development mode now activates automatically when Joomla global
  debug is enabled, so admins don't need to toggle both settings.
- Bootstrap TOC now detects the highest heading level present (even
  if only one exists) and includes up to two levels below it
  (e.g. h2 → h2, h3, h4). Fixes incorrect top-level detection and
  adds proper three-level nesting support.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 11:26:37 -05:00
f476c6310d Strip remaining FILE INFORMATION headers from all non-XML/README files
Removes DEFGROUP, INGROUP, PATH, VERSION, BRIEF metadata from:
- Root PHP files (index.php, custom.php, error.php, offline.php, component.php)
- Language INI files (en-GB, en-US)
- All index.html security stubs
- brand-showcase.html, theme-test.html

Copyright/SPDX block preserved in all files.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 15:50:35 -05:00
cd29a18db6 Merge pull request #71 from mokoconsulting-tech/chore/sync-mokostandards-updates
chore: Sync MokoStandards workflows and configurations
2026-01-29 21:43:51 -06:00
copilot-swe-agent[bot]
d254527ad1 chore: add GPL warranty disclaimer to all source files per MokoStandards policy
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-30 02:54:03 +00:00
copilot-swe-agent[bot]
0fd41905d7 docs: replace Moko-Cassiopeia with MokoCassiopeia in all files
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-30 02:52:27 +00:00
copilot-swe-agent[bot]
9cb9658a84 Update version to 03.06.03, fix README title and color variables instructions, improve TOC CSS theme integration
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-30 01:44:39 +00:00
copilot-swe-agent[bot]
63e00827db Integrate Bootstrap TOC library for article table of contents
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-30 01:20:49 +00:00
9ba3955504 Template fixes 2026-01-27 21:04:37 -06:00
copilot-swe-agent[bot]
0ddbe70e50 Remove warranty header from all files, keeping copyright and file information
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
2026-01-18 14:47:50 +00:00
1a3241c75a made media install compliant 2025-12-18 17:38:19 -06:00