New features: - ContentBackup class with ZIP backup/restore and git versioning - Admin backup & restore page (content-backup.twig) with git init/commit/log/restore - Plugin type system: system (blue) vs content (green) with visual badges - PluginAPIInterface + AdminPluginAPI for plugin architecture - Essential plugin flag (cannot edit/deactivate/delete) Improvements: - Consolidated enabled_plugins config (removed plugins.enabled) - Removed Analytics/Logging toggles from admin config page - Fixed Dashboard plugin Twig comments rendered as text - Updated 20 guide files (NL+EN): configuratie, plugins, plugin-development, core-classes, theme-json, layouts, scss-styling, admin-beheerder, nieuw-thema, architectuur - Improved accessibility test script (grep -E, min/max checks) Cleanup: - Removed unused classes: ARIAComponents, AccessibilityManager, ContentSecurityPolicy, etc. - Removed vendor packages: mustache/mustache, php-mqtt/client - Removed old templates: logs.twig, statistics.twig (now plugins) - Moved language files to language/ directory Tests: - Pentest: 30/30 passed, 0 vulnerabilities - WCAG 2.1 AA: 25/25 passed, 100% compliance
26 lines
503 B
Markdown
26 lines
503 B
Markdown
# Creating a new theme
|
|
|
|
## Via Admin
|
|
|
|
1. Go to **Theme** → **New theme**
|
|
2. Enter a name (e.g. `my-theme`)
|
|
3. Theme is created with basic structure
|
|
4. Edit `theme.json` and templates
|
|
|
|
## Manually
|
|
|
|
```bash
|
|
mkdir themes/my-theme
|
|
mkdir themes/my-theme/partials
|
|
mkdir themes/my-theme/assets/{scss,css,js,fonts,img}
|
|
```
|
|
|
|
Create basic files:
|
|
|
|
- `theme.json`
|
|
- `base.twig`
|
|
- `full_content.twig`
|
|
- `partials/header.twig`
|
|
- `partials/footer.twig`
|
|
- `scss/theme.scss`
|
|
- `guide.twig` (if guide support is needed) |