Update version to 1.6.0 and refresh guides with clean URLs

This commit is contained in:
2026-07-14 15:39:34 +02:00
parent caa335a319
commit dacc439b1b
3 changed files with 44 additions and 33 deletions
+17 -16
View File
@@ -52,7 +52,7 @@ CodePress CMS is a lightweight, file-based content management system built with
- **Theme support** via `themes/` directory with theme.json per theme
### Admin Console
- Built-in admin panel at `/admin.php`
- Built-in admin panel at `/admin`
- **Dashboard** with statistics (pages, directories, plugins) and quick actions
- **Content management** - Browse files, upload, create, edit, rename, move and delete
- **CodeMirror editor** with toolbar (bold, italic, heading, link, image, list, media insert)
@@ -249,7 +249,7 @@ Media files (images, PDFs, video, audio) can be placed in any `content/` subdire
### Access
- **URL**: `/admin.php`
- **URL**: `/admin`
- **Default login**: `admin` / `admin`
### Routes
@@ -367,21 +367,22 @@ plugins: HTMLBlock, MQTTTracker
## URL Structure
### Frontend Page URLs
- **Home**: `/` or `?page=index&lang=en`
- **Page**: `?page=folder/page&lang=en`
- **Search**: `?search=query`
- **Guide**: `?guide`
- **Language switch**: `?lang=nl` or `?lang=en`
- **Home**: `/` or `/en/`
- **Page**: `/en/folder/page`
- **Search**: `?search=query` (via search form)
- **Guide**: `/en/guide`
- **Language switch**: `/nl` or `/en`
### Media URLs
- **Media**: `/-media/path/to/file.jpg` (from any content subdirectory)
- **Assets**: `/-assets/file.jpg` (from content/-assets/, backward compatible)
### Admin URLs
- **Admin**: `admin.php?route=dashboard`
- **Edit content**: `admin.php?route=content-edit&file=page.md`
- **New content**: `admin.php?route=content-new&dir=folder`
- **Edit theme**: `admin.php?route=theme&edit=themename`
- **Admin**: `/admin`
- **Dashboard**: `/admin/dashboard`
- **Edit content**: `/admin/content-edit?file=page.md`
- **New content**: `/admin/content-new?dir=folder`
- **Edit theme**: `/admin/theme?edit=themename`
## SEO Optimization
@@ -510,21 +511,21 @@ The MQTTTracker plugin stores `broker_host`, `broker_port`, `client_id`, `userna
### How do I add new content?
1. Via the admin panel: `admin.php?route=content-new`
1. Via the admin panel: `/admin/content-new`
2. Or upload files to the `content/` directory
3. Organize in logical directories
4. Use correct filenames and extensions
### How do I move a file or directory?
1. Go to `admin.php?route=content`
1. Go to `/admin/content`
2. Click "Move" next to the item
3. Select the target directory
4. Confirm the move
### How do I create a new theme?
1. Go to `admin.php?route=theme`
1. Go to `/admin/theme`
2. Enter a name and click "Create"
3. Adjust colors, heights and background
4. Activate the theme
@@ -564,8 +565,8 @@ The MQTTTracker plugin stores `broker_host`, `broker_port`, `client_id`, `userna
## Version
Current version: **1.5.0** (codename: "Enhanced")
Release date: 2025-11-26
Current version: **1.6.0** (codename: "Enhanced")
Release date: 2026-07-14
## Support