- Created .github/copilot-instructions.md with project-specific guidance
- Documented critical non-replacement override philosophy
- Included coding standards, conventions, and best practices
- Added Joomla template-specific guidelines
- Documented file headers, language files, and asset management
- Included development workflow and testing procedures
- Added common patterns and important do's/don'ts
- Linked to key documentation references
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
The folder attribute should specify the base destination directory, not the
full path. Changed from folder="administrator/language" to folder="administrator"
while keeping the full source path in the language tags.
This follows Joomla's standard where:
- folder="administrator" = base destination in Joomla
- path includes full source structure from template root
- Result: files install to JOOMLA_ROOT/administrator/language/en-GB/
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
The paths in <language> tags must be relative to the template source root
(src/), not relative to the folder attribute. The folder attribute specifies
the DESTINATION in Joomla, but file paths must point to actual source files.
Corrected paths:
- Frontend: language/en-GB/tpl_mokocassiopeia.ini (was: en-GB/...)
- Backend: administrator/language/en-GB/tpl_mokocassiopeia.sys.ini (was: en-GB/...)
This ensures Joomla can find and install the language files correctly.
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
Language files should only be declared in <languages> sections, not in
<files> section. Having them in <files> causes Joomla to copy them to
the template directory instead of the proper Joomla language directories,
resulting in language constants showing instead of translations.
Removed:
- <folder>language</folder>
- <folder>administrator</folder>
The <languages> sections (lines 89-97) properly handle installation of
language files to Joomla's language directories where they can be loaded.
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
Language files were not being installed because the folders weren't
listed in the <files> section. Added <folder>language</folder> and
<folder>administrator</folder> to ensure language files are packaged
and installed correctly.
Fixes language not working on install issue.
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
- Update release.yml to use src/templateDetails.xml for version updates
- Fix scripts/README.md documentation to use correct src/ paths
- All documentation and scripts now use consistent correct paths
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
- Update all documentation files to reflect correct src/ structure
- Fix release.yml workflow to copy from src/ instead of src/templates/
- Fix build-release.sh script to use correct paths
- Remove references to non-existent src/templates/ directory
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>