Customizing Early Access Features
Learn how to customize templates and language strings for Early Access features
Overview
Early Access features in JReviews 6 use a modern customization system that differs from the legacy JReviews 3/5 approach:
- Templates: Blade
.blade.phpfiles instead of.thtmlfiles - Language: PHP arrays instead of
.pofiles - Location: Files in
/resourcesdirectory instead of/jreviewsand/locale
For the older systems still used by everything that has not been rewritten yet, see:
- Themes - the older
.thtmltemplate system - JReviews 5 Languages & Localization - the older
.polanguage files
Which Features Use the New System
The modern Early Access page rewrites use Blade templates and PHP array language files. This includes the core listing detail, listing form, comparison, directory, listing-list, advanced-search, comments/reviews, discussions, media, and reviewer-rank pages, plus their modern components.
Installed add-ons can extend the same system. Current examples include PaidListings checkout, account, and plans; ListingResources resources pages; UserProfiles account and profile pages; EngageUsers stream, inbox, and preferences; and the Maps full-page map.
This list changes as more pages are modernized. Use the Early Access screen to see the switches registered on your installation, then use Theme Explorer to confirm the template system used by a specific page.
Template Overrides
Early Access pages are built from .blade.php templates, which you override by recreating the file's path inside your overrides folder. No custom theme is involved, and your Site Theme setting has no effect on them.
The full walkthrough, including the override paths for JReviews and for add-ons, theme suffixes, and the basics of editing one of these templates, lives on the themes page:
Theme Suffixes
Theme suffixes let you use a different version of the same template in different sections of your site. Append the suffix to the filename before .blade.php, so detail.blade.php becomes detail_cars.blade.php. See Themes.
Discovering Templates
Theme Explorer works with both the newer .blade.php templates and the older .thtml ones, and shows you the complete path of every template used on a page. Enable it in Configuration → General, optionally restricting the output to your own IP address, then load any page with JReviews content.
Its appearance also tells you which system a page is using: Early Access pages get a floating panel listing the templates, while older pages print the paths inline on the page. See Themes for the details and for how to read a page that mixes both.
Language Overrides
Early Access features use a modern language system based on PHP array files (site.php for the front-end, cp.php for the admin) instead of the older .po files. Like template overrides, language overrides are incremental, so you define only the strings you want to change.
The full reference for the Early Access language system, including override locations, resolution priority, language detection, and examples, lives on a dedicated page:
Disabling Overrides
For troubleshooting purposes, you can temporarily disable template overrides in Configuration Settings - General by setting Disable Overrides to Yes.
This will disable:
- Blade template overrides
- Legacy
.thtmltemplate overrides and legacy PHP file overrides
This allows you to test if an issue is related to your template customizations.
Related Documentation
- Early Access Features - Overview of all Early Access features
- Themes - Template and CSS overrides for both the newer and the older pages
- Languages & Localization - Language system for Early Access pages
- JReviews 5 Languages & Localization - Legacy
.polanguage file system - Hooks - Developer hooks system for v6
- Hooks Directory - Browse all available v6 hooks