Files
ABSDEV/Modules/Content/README.md
T
Mark Gregory bfac7f555a Visual header, body, and footer composition screen.
* Drag-and-drop section ordering with automatic saving.
* Add existing reusable documents to regions.
* Remove placements without deleting documents.
* Create independent page-specific copies.
* Shared-document usage warnings.
* Document creation, duplication, deletion protection and filtering.
* Draft and published document states.
* Document and placement scheduling.
* Authenticated homepage preview.
* Draft sections displayed in preview with a clear draft marker.
* Content Composer added to the administration sidebar.
* Public rendering now respects:
    * Publication status
    * Future publication dates
    * Expiry dates
    * Placement start and end dates
    * Enabled state
* Original Saasland homepage remains as the fallback when no composition exists.
2026-07-27 08:28:52 +01:00

38 lines
1.1 KiB
Markdown

# Content Composer
The Content module provides reusable typed documents and ordered page regions.
## Phase 2 features
- Header, body and footer composition editor.
- Drag-and-drop ordering with server-side ownership validation.
- Add existing published or draft documents to a page.
- Remove a placement without deleting the reusable document.
- Create an independent page-specific draft copy.
- Shared-use warnings and deletion protection.
- Placement enable/disable and date scheduling.
- Content document creation, duplication, filtering and publishing controls.
- Authenticated Saasland homepage preview, including draft labels.
- Content Composer entry in the administration sidebar.
## Setup
```bash
php artisan migrate
php artisan content:install-saasland
```
Reset the seeded homepage composition when required:
```bash
php artisan content:install-saasland --force
```
Administration:
- `/admin/content`
- `/admin/content/pages/home`
- `/admin/content/pages/home/preview`
The public theme remains backward-compatible: when no composition exists, the legacy Saasland homepage, header and footer are rendered.