Landing Page
Configure and customize the public landing page for your PteroCA panel
New in v0.6.3
Overview
The landing page is the public-facing homepage of your PteroCA panel, designed to showcase your products and attract customers. It provides a modern, customizable interface for visitors to browse your offerings before logging in.
Key Features
Featured Categories - Highlight your most popular product categories
Featured Products - Showcase specific products you want to promote
Widget System - Add custom content blocks and promotional sections
Separate Theme - Use a different theme for landing vs panel
Custom Navigation - Add custom buttons to the navigation bar
Responsive Design - Mobile-friendly layout out of the box
Landing Page Routes
PteroCA provides two landing page routes:
Homepage (
/) - Displays featured categories and productsStore Page (
/store) - Shows all categories with their products
Enabling the Landing Page
The landing page can be enabled or disabled in General Settings.
Quick Start
Navigate to Admin Panel → Settings → General
Find Landing Page Enabled setting
Toggle to enable or disable
Save changes
When enabled:
Root URL (
/) shows the public landing pageUnauthenticated visitors can browse products and categories
/storeroute provides full product catalogGreat for public hosting businesses and marketing
When disabled:
Root URL (
/) redirects to login pageOnly authenticated users can access the panel
Traditional panel-only behavior (pre-v0.6.3)
Ideal for private/internal use or when using external marketing site
Detailed Configuration
For complete documentation on the Landing Page Enabled setting including use cases, security considerations, and best practices, see General Settings - Landing Page Enabled.
Featured Items
Featured items appear on the homepage with priority positioning.
Featured Categories
Featured categories appear in the "Featured Categories" section on the homepage.
To feature a category:
Navigate to Admin Panel → Categories
Edit a category
Enable Featured checkbox
Set Priority (higher numbers appear first)
Add an attractive Image for visual appeal
Save changes
Display rules:
Maximum 6 featured categories shown on homepage
Sorted by priority (DESC), then by name
Only non-deleted categories appear
Image recommended for best presentation
Featured Products
Featured products appear in the "Featured Products" section on the homepage.
To feature a product:
Navigate to Admin Panel → Products
Edit a product
Enable Featured checkbox
Set Priority (higher numbers appear first)
Add a Banner Image for visual appeal
Ensure product is Active and Not Deleted
Save changes
Display rules:
Maximum 6 featured products shown on homepage
Sorted by priority (DESC), then by name
Only active, non-deleted products appear
Banner image recommended for best presentation
Priority System
Both categories and products use a priority field to determine display order:
Higher values appear first
Equal priorities sorted alphabetically by name
Default priority is 0
Range: Any integer (can be negative)
Example:
Widget System
Widgets allow you to add custom content blocks to the landing page.
Widget Contexts
Landing page supports two widget contexts:
LANDING_HOMEPAGE - Homepage (
/) widgetsLANDING_STORE - Store page (
/store) widgets
Adding Widgets via Plugins
Plugins can register widgets that appear on landing pages. See Plugin Development - Widgets for details.
Example widget uses:
Promotional banners
Trust badges and testimonials
Latest news or announcements
Social media feeds
Custom HTML content blocks
Customization
Theme Customization
Use a different theme for the landing page:
Navigate to Settings → Theme
Set Landing Theme (
LANDING_THEME) to your preferred themeTheme must support
"landing"context in itstemplate.jsonSave changes
See Themes for more information.
Custom Navigation Buttons
Add custom buttons to the landing page navigation bar using events:
Available Events
Landing page fires events for customization:
LandingPageAccessedEvent- Page accessedLandingPageDataLoadedEvent- Data loaded (categories/products)NavigationButtonsCollectedEvent- Navigation buttons collectionWidgetsCollectedEvent- Widgets collection
See Event System for details.
Best Practices
Images and Visuals
Categories:
Use consistent image dimensions (recommended: 400×300px)
High-quality images that represent the category
Optimize file sizes for fast loading
Products:
Add banner images for featured products
Use product screenshots or promotional graphics
Maintain consistent aspect ratios
Featured Item Selection
Categories:
Feature your most popular or profitable categories
Limit to 6 or fewer for clean homepage
Update seasonally or based on promotions
Products:
Highlight new or promotional products
Balance between variety and focus
Test different featured products to optimize conversions
Performance
Keep featured items count reasonable (6 or fewer)
Optimize images (compress, use appropriate formats)
Minimize custom widgets on landing page
Use caching for widget content
SEO Considerations
Add descriptive category and product descriptions
Use meaningful product names
Ensure landing page loads quickly
Consider adding meta tags via theme customization
Troubleshooting
Landing Page Not Showing
Check:
LANDING_PAGE_ENABLEDsetting istrueActive theme supports
"landing"contextCache cleared after enabling:
php bin/console cache:clear
No Featured Items Showing
Check:
Items have Featured checkbox enabled
Items are Active and Not Deleted
Category/product has proper Priority value
Images are uploaded and accessible
Theme Issues
If landing page displays incorrectly:
Verify theme has
"landing"in contexts arrayCheck theme has
landing/directory with templatesFall back to default theme if custom theme broken
Review theme error logs
Related Documentation
Themes - Theme management and customization
Products - Product configuration
Categories - Category management
Event System - Landing page events
Widget Development - Creating custom widgets
Last updated