← Back to Documentation

⚙️ Configuration

Guide

Customize every aspect of your Soonie coming soon page

Quick Navigation

⚠️ Important: All configuration is done in the config.php file. Always backup this file before making changes!

Essential Settings (Must Change)

🔐 Admin Password

ADMIN_PASSWORD
String | Required
Default: 'admin123'
// CHANGE THIS IMMEDIATELY! define('ADMIN_PASSWORD', 'your_super_secure_password_here');
Security Critical: Change this from the default value before going live!

🏢 Company Information

COMPANY_NAME
String
Default: 'SOONIE'
// Your company or project name define('COMPANY_NAME', 'Your Amazing Company');

Content Customization

📝 Page Content

PAGE_TITLE
String
Default: 'Soonie - Coming Soon'
SUBTITLE
String
Default: 'Something amazing is coming soon...'
EMAIL_FORM_TITLE
String
Default: 'Get Notified When We Launch'
// Customize your page content define('PAGE_TITLE', 'MyApp - Coming Soon'); define('SUBTITLE', 'The future of productivity is almost here...'); define('EMAIL_FORM_TITLE', 'Join Our VIP Launch List'); define('EMAIL_PLACEHOLDER', 'Enter your email for early access'); define('SUBMIT_BUTTON_TEXT', 'Get Early Access');
Example Variations:
  • Tech Startup: "Revolutionary AI technology launching soon..."
  • E-commerce: "The ultimate shopping experience is coming..."
  • SaaS: "Powerful business tools launching next month..."
  • Creative: "Something beautiful is being crafted..."

💬 User Messages

// Customize user feedback messages define('SUCCESS_MESSAGE', 'Thank you! You\'ll be first to know when we launch.'); define('DUPLICATE_EMAIL_MESSAGE', 'You\'re already on our VIP list!'); define('INVALID_EMAIL_MESSAGE', 'Please enter a valid email address.');

Theme Configuration

🎨 Demo & Theme Settings

DEMO
Boolean
Default: true
DEFAULT_THEME
Integer (0-19)
Default: 0
// Demo mode configuration define('DEMO', true); // Enable demo mode define('DEFAULT_THEME', 6); // Midnight Luxe
DEMO Mode Features:
When enabled, shows a demo card on the left side with quick links to:
• Admin Panel - Direct access to admin dashboard
• Documentation - Complete HTML documentation
• Theme Selector - All 20 themes available on the right side

When disabled, only the default theme is shown and visitors cannot switch themes.

Available Themes (0-19):
0: Sunset | 1: Ocean | 2: Forest | 3: Purple Dream | 4: Warm Sunset
5: Cool Mint | 6: Midnight Luxe | 7: Rose Gold | 8: Arctic Storm
9: Emerald Night | 10: Inferno | 11: Volcanic Ash | 12: Electric Blue
13: Cherry Blossom | 14: Space Odyssey | 15: Golden Hour
16: Neon Dreams | 17: Autumn Blaze | 18: Deep Ocean | 19: Crystal Cave

Countdown Settings

⏰ Launch Date Configuration

Choose one method to set your launch date:

Method 1: Days from now (Recommended)
define('LAUNCH_DAYS_FROM_NOW', 30); // 30 days from today
Method 2: Specific date and time
define('LAUNCH_DATE', '2025-12-31 23:59:59');
Method 3: Hours from now
define('LAUNCH_HOURS_FROM_NOW', 720); // 30 days = 720 hours
Note: Only use ONE method at a time. Comment out or remove the others.

Email Settings

📧 Email Collection

EMAIL_FILE
String
Default: 'emails.txt'
LOG_EMAIL_TIMESTAMPS
Boolean
Default: true
// Email storage configuration define('EMAIL_FILE', 'subscribers.txt'); // Custom filename define('LOG_EMAIL_TIMESTAMPS', true); // Include timestamps
Email Storage Options:
  • Simple: 'emails.txt' in main directory
  • Organized: 'data/emails.txt' in subdirectory
  • Dated: 'emails_' . date('Y-m') . '.txt' for monthly files

GDPR Compliance Settings

🔐 Privacy & GDPR

GDPR_ENABLED
Boolean
Default: true
COOKIE_CONSENT_REQUIRED
Boolean
Default: true
// GDPR compliance settings define('GDPR_ENABLED', true); // Enable GDPR features define('COOKIE_CONSENT_REQUIRED', true); // Show cookie banner define('DATA_RETENTION_DAYS', 0); // Manual deletion only define('AUTO_DELETE_AFTER_LAUNCH', true); // Auto-delete post-launch
GDPR Features Include:
  • Cookie consent banner
  • Privacy policy modal
  • Email consent checkbox
  • Data export functionality
  • Right to erasure (delete emails)

Security Settings

🛡️ Security Configuration
CSRF_PROTECTION
Boolean
Default: true
SESSION_TIMEOUT
Integer (minutes)
Default: 60
// Security settings define('CSRF_PROTECTION', true); // Enable CSRF tokens define('SESSION_TIMEOUT', 60); // Admin session timeout (minutes)
Security Best Practices:
  • Always use CSRF protection
  • Set reasonable session timeouts
  • Use strong admin passwords
  • Enable HTTPS if possible

Advanced Settings

🔧 Development & Debug

DEBUG_MODE
Boolean
Default: false
TIMEZONE
String
Default: 'America/New_York'
// Advanced configuration define('DEBUG_MODE', false); // Enable error reporting define('TIMEZONE', 'Europe/London'); // Set timezone define('DATE_FORMAT', 'Y-m-d H:i:s'); // Date format for logs
Production Settings:
  • Set DEBUG_MODE to false
  • Use your local timezone
  • Test all features after configuration changes

Configuration Examples

🚀 Startup Launch

define('COMPANY_NAME', 'InnovateTech'); define('SUBTITLE', 'Revolutionary AI technology launching in 30 days...'); define('EMAIL_FORM_TITLE', 'Join Our Beta List'); define('DEFAULT_THEME', 14); // Space Odyssey define('LAUNCH_DAYS_FROM_NOW', 30);

🛍️ E-commerce Store

define('COMPANY_NAME', 'LuxeShop'); define('SUBTITLE', 'Premium fashion collection launching soon...'); define('EMAIL_FORM_TITLE', 'Get VIP Early Access'); define('DEFAULT_THEME', 6); // Midnight Luxe define('LAUNCH_DATE', '2025-06-01 09:00:00');

🎮 Gaming Project

define('COMPANY_NAME', 'Epic Games Studio'); define('SUBTITLE', 'The most intense gaming experience is loading...'); define('EMAIL_FORM_TITLE', 'Reserve Your Spot'); define('DEFAULT_THEME', 10); // Inferno define('LAUNCH_HOURS_FROM_NOW', 168); // 1 week

🎉 Configuration Complete!

After configuring your settings:

  • Test your coming soon page
  • Verify countdown shows correct date
  • Check email collection works
  • Test admin panel access
  • Confirm theme selector (if enabled)