Repository navigation
Module: Developer
The Developer module is a development tool for generating random test data. It creates tags, categories, media (placeholder images), pages, and menu items with full translations for all active languages.
This module is intended for development and testing purposes only. It helps developers quickly populate the CMS with realistic content to test themes, APIs, and frontend rendering.
- Generate 5-20 random tags with translations
- Generate 5-20 random categories (nested hierarchy) with translations
- Generate 5-20 placeholder images (colored rectangles)
- Generate 5-20 published pages with tags, categories, and featured images
- Generate 3-7 menu items in every menu (nested, linked to pages)
- Automatic translations for all active languages
- Track all generated items for bulk deletion
- Clean up generated content with one click
Access at Admin > Modules > Developer Tools or /admin/developer.
Displays counts of generated items: tags, categories, images, pages, and menu items.
Click Generate Test Data to create random content:
- Tags (5-20): Random words from predefined lists
- Categories (5-20): Nested structure (~40% root, ~40% children, ~20% grandchildren)
- Images (5-20): Colored placeholder JPEGs (800x600) with variants
- Pages (5-20): Published pages with Lorem Ipsum content, tags, categories, and featured images
- Menu Items (3-7 per menu): Items in every existing menu, ~40% nested, linked to pages
Each item includes translations for all active languages.
Click Delete All Generated Data to remove all module-generated content. Only items tracked by this module are deleted — manually created items (and the menus themselves) are preserved. Media files are removed through a persisted retry queue; if earlier cleanups are still pending, the delete is refused with an error.
Placeholder images are generated programmatically:
- Size: 800x600 pixels (original)
- Format: JPEG at 85% quality
- Colors: 10 predefined colors
- Variants: thumbnail (150x150), grid (256x256), small (400x300), medium (800x600), large (1920x1080), og (1200x630)
-
Location: under
OCMS_UPLOADS_DIR(default./uploads)
| Method | Path | Description |
|---|---|---|
| GET | /admin/developer |
Dashboard with statistics |
| POST | /admin/developer/generate |
Generate all test data |
| POST | /admin/developer/delete |
Delete all generated data |
-
Use in development only — The module registers inactive outside
developmentand cannot be enabled inproduction - Clear before regenerating — Delete existing data before creating new
- Check language setup — Ensure languages are configured before generating
- Toggle off when not needed — Disable from Admin > Modules
Ensure at least one language is active in Admin > Languages.
If you see "UNIQUE constraint failed" errors, clear the tracking table and manually delete conflicting items.
Check file permissions on the ./uploads directory.
Getting Started
Core Features
- Content Management
- Media Library
- Taxonomy
- Menu Builder
- Forms
- Multi-Language
- SEO
- Feeds
- Video Embedding
- Agent-Ready
Administration
API & Integrations
Security
Theme Development
Module Development
Built-in Modules
- Module: Sentinel
- Module: Developer
- Module: DB Manager
- Module: Migrator
- Module: Informer
- Module: Demo Mode
- Module: Internal Analytics
- Module: External Analytics
- Module: Privacy
- Module: Embed
- Module: MCP Server
Deployment