Before installing the Premium Theme, ensure you have:
- Open Journal Systems (OJS) version 3.5.0 or later
- PHP 8.2 or later
- Access to the OJS filesystem
- Administrative access to your OJS installation
-
Download the theme package
- Download the latest release from the distribution source
- Extract the ZIP file
-
Upload to OJS
# Copy the premium directory to your OJS themes folder cp -r premium /path/to/ojs/plugins/themes/ -
Set proper permissions
# Ensure OJS can read the theme files chmod -R 755 /path/to/ojs/plugins/themes/premium chown -R www-data:www-data /path/to/ojs/plugins/themes/premium -
Activate the theme
- Login to OJS as Administrator
- Navigate to Settings → Website → Appearance
- Locate "Premium Theme" in the theme list
- Click Enable or Activate
-
Configure theme options
- Click on Theme Settings or the settings icon
- Choose your preferred:
- Layout (1-column, 2-column, or 3-column)
- Color scheme
- Typography (fonts)
- Dark mode preference
- Click Save
-
Verify installation
- Visit your journal's homepage
- Check that the theme is applied correctly
- Test dark mode toggle
- Test mobile responsiveness
# Clone the repository
cd /path/to/ojs/plugins/themes/
git clone https://github.com/your-repo/premium-theme.git premium
# Install dependencies
cd premium
composer install
npm install
# Build assets
npm run build
# Set permissions
chmod -R 755 .-
Upload a logo
- Go to Settings → Website → Appearance
- Upload a high-resolution logo (PNG or SVG recommended)
- Recommended dimensions: 200x60 pixels
-
Configure homepage image
- Upload a hero image for the homepage
- Recommended dimensions: 1920x820 pixels
- Use high-quality, web-optimized images (WebP format recommended)
-
Set up custom fonts (optional)
- Choose Google Fonts for headings and body text
- Preview changes before saving
- Popular combinations:
- Inter + Inter
- Playfair Display + Source Sans Pro
- Roboto Slab + Open Sans
Solution:
# Clear OJS cache
php tools/upgrade.php check
php lib/pkp/tools/installPluginVersion.php plugins/themes/premium/version.xmlSolution:
- Verify the
dist/directory exists and contains compiled assets - Run
npm run buildif missing - Check file permissions
- Clear browser cache
Solution:
- Check PHP version:
php -v(must be 8.2+) - Enable error reporting in OJS:
config.inc.php→show_stacktrace = On - Check error logs:
files/logs/
Solution:
- Hard refresh browser (Ctrl+Shift+R / Cmd+Shift+R)
- Clear OJS cache: Delete
cache/directory contents - Verify CSS file exists:
/plugins/themes/premium/dist/styles/main.css
-
Backup current installation
cp -r /path/to/ojs/plugins/themes/premium /path/to/backup/premium-backup
-
Download new version
- Extract the new version
-
Replace files
rm -rf /path/to/ojs/plugins/themes/premium/* cp -r new-premium/* /path/to/ojs/plugins/themes/premium/
-
Clear cache
rm -rf cache/* -
Verify
- Login to admin dashboard
- Check theme version in Appearance settings
- Test functionality
-
Switch to another theme first
- Activate a different theme (e.g., Default Theme)
-
Disable Premium Theme
- Go to Settings → Website → Appearance
- Click Disable on Premium Theme
-
Remove files (optional)
rm -rf /path/to/ojs/plugins/themes/premium
- Check the Configuration Guide
- Review Customization Options
- Contact support: support@example.com