JReviews logo Docs
Menu
Version

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.php files instead of .thtml files
  • Language: PHP arrays instead of .po files
  • Location: Files in /resources directory instead of /jreviews and /locale

For the older systems still used by everything that has not been rewritten yet, see:

Important
Features not rewritten in Early Access continue using the older systems. Only customize Early Access templates and language when you have enabled those specific features.

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:

Full Template Documentation
See Themes for the complete guide to overriding templates on Early Access pages.

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:

Full Language Documentation
See Languages & Localization for the complete guide to overriding strings on Early Access pages.

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 .thtml template overrides and legacy PHP file overrides

This allows you to test if an issue is related to your template customizations.

Language Overrides Are Not Affected
This setting does **not** disable language file overrides. To stop a `site.php` / `cp.php` override from taking effect, remove or rename the override file and clear the cache. See Languages & Localization for details.