Advanced underpages system - monetized subpages for all Moonlight content types
Advanced underpages system - bringing structured content to every corner of Moonlight
We've just launched one of our most versatile content creation features yet - a comprehensive underpages system that transforms how creators can organize and monetize their additional content across all project types.
The vision behind underpages
Every creator has stories to tell beyond their main content. Comic artists want to share character backstories, musicians need space for lyrics and album notes, authors want to publish bonus chapters, and users desire personal article spaces. Previously, this scattered across different systems with inconsistent experiences.
What are underpages?
Underpages are structured subpages that can be attached to any content type in Moonlight:
- User profiles - personal articles and blog posts
- Comics - character guides, world-building content, bonus stories
- Books - author notes, character sheets, bonus chapters
- Music albums - lyrics, production notes, behind-the-scenes content
- Fanpages - community announcements, exclusive content
Smart monetization without complexity
Unlike our tier-based subscription system for ongoing content, underpages use a simple coins-based payment model:
- Free underpages - public content for community building
- Paid underpages - one-time purchase with coins from user wallet
- Preview system - creators can show teaser content before payment
- Full content unlock - complete access after purchase
This creates a middle ground between free content and subscription tiers, perfect for one-off premium content pieces.
Content creation with moonlight editor
Every underpage leverages our powerful MoonlightEditor integration:
- Rich content editing - full formatting, media embeds, interactive elements
- Dual content system - separate preview and full content areas
- JSON storage - flexible, future-proof content structure
- Consistent editing experience - same powerful tools across all content types
Technical architecture highlights
The system is built on polymorphic relationships, allowing attachment to any content type without code duplication:
Universal attachment system
// Works with any model type
$underpage->underpageable_type = 'App\Models\Comic';
$underpage->underpageable_id = $comic->id;
Smart payment integration
- Integrates with existing coins wallet system
- Purchase tracking with
UnderpagePurchase
model - Revenue analytics for creators
- Transaction history and receipts
Scalable content management
- Order-based organization - creators control content sequence
- Publication control - draft/published states
- Analytics tracking - views, purchases, revenue metrics
- Search and filtering - find content across all types
Management dashboard revolution
We've created a comprehensive management system that gives creators complete control:
Unified management panel
- All underpages in one place - regardless of attachment type
- Advanced filtering - by status, type, monetization, performance
- Bulk operations - publish, unpublish, or delete multiple pages
- Smart analytics - conversion rates, revenue tracking, performance metrics
Creator dashboard integration
- Quick stats overview - earnings, views, purchases at a glance
- Recent activity - latest underpages and purchase notifications
- Quick actions - create new underpages directly from dashboard
- Cross-project insights - unified view of all content performance
User experience improvements
Intuitive navigation
- Left sidebar menu - clean table of contents for all underpages
- Right content area - focused reading experience
- Seamless transitions - between free and paid content
- Mobile optimization - responsive design for all devices
Smart content discovery
- Contextual placement - underpages appear naturally within parent content
- Purchase flow integration - smooth coins-based buying experience
- Preview optimization - encourage purchases with compelling teasers
Developer architecture
This system exemplifies clean, scalable architecture:
Service layer separation
UnderpageController
- handles CRUD operationsUnderpageManagementController
- comprehensive admin features- Business logic properly separated from presentation
Database optimization
- Efficient polymorphic indexing
- Purchase tracking with proper foreign keys
- Analytics-ready structure for future insights
API-first design
- RESTful endpoints for all operations
- Consistent response formats
- Built for future mobile app integration
What's next for underpages
This foundation opens exciting possibilities:
- Cross-references - link between underpages across different projects
- Collections - group related underpages into series
- Advanced analytics - deeper insights into content performance
- Collaboration features - team editing for underpages
- Template system - pre-designed layouts for common use cases
Live now across moonlight
The underpages system is fully deployed and ready for creators to explore. Whether you're building a comic universe, sharing music insights, or creating personal content, underpages provide the flexible, monetizable solution you've been waiting for.
Start creating your first underpage today and discover new ways to engage and monetize your audience with structured, professional content presentation.
The future of creator content organization starts now. 📄✨