Files

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.