Skip to content

Settings ​

Some settings are on Editrix, Settings in the control panel. All of them can be set in config/editrix.php, which takes precedence:

php
<?php

return [
    'maxConcurrentSearches' => 2,
    'protectedFields' => ['stripeCustomerId'],
    'protectedSections' => ['legal'],
];
Editrix Settings page with the edition, search defaults and log retention
Editrix, Settings in the control panel. A value set in config/editrix.php takes precedence.
SettingDefaultEffect
searchEntriestrueSearch entries by default
searchGlobalstrueSearch globals by default
searchMatrixtrueSearch Matrix and Neo blocks by default (Pro)
searchCategoriesfalseSearch categories by default (Pro)
searchableFieldTypesPlain Text, Textarea, Redactor, CKEditorField classes whose content is searched
maxSearchResultsnullLowers the rows a search returns below your edition's limit. It cannot raise it.
maxConcurrentSearches2Searches that may run at once across all users

Replace ​

SettingDefaultEffect
maxRowsPerReplacenullLowers the rows one replace may change below your edition's limit. It cannot raise it.
replaceQueueThreshold25A replace of more rows than this runs in the queue
bulkConfirmationThreshold100A replace of more rows than this asks for the confirmation word
productionSafeModefalseAsk for the confirmation word on every replace in production (Pro)
validateOnReplacefalseValidate an entry before saving it
createRevisionsOnReplacetrueLeave a revision on the entries a replace changes
protectedFields[]Field handles that Replace never changes
protectedSections[]Section handles whose entries Replace never changes

Protected fields and sections are not hidden from searches. Their matches show as read-only.

Logs and interface ​

SettingDefaultEffect
logRetentionDays30Days to keep logs, from 1 to 365. Your edition caps it: 30 on Standard, 90 on Pro.
showEnvironmentIndicatortrueShow the current environment in the interface
A plugin byBrand IndustryBrand Industry

Editrix is released under the Craft License. One license covers one production site.