Skip to content

Configuration ​

The following .env configuration options are available:

BOXES_RENDER_SCAFFOLDING ​

By default, the plugin will render a scaffolding that contains useful meta information around every rendered partial.

If you want to disable this scaffolding output and only output the effective partial content, you can set this option to false.

ini
BOXES_RENDER_SCAFFOLDING=false

BOXES_MAIN_MENU_ORDER ​

This option lets you define the position of the "Content" menu item created by Boxes in the Backend main menu.

ini
# The lower the number, the more to the left the item appears.
BOXES_MAIN_MENU_ORDER=500

BOXES_MULTISITE_ENABLED ​

This option lets you disable the Multisite integration. If you disable this feature, all pages will be available on all sites (and cannot be scoped to a specific site).

ini
BOXES_MULTISITE_ENABLED=false

BOXES_REFERENCES_ENABLED ​

This option lets you disable the "Reference" partial in the tools section.

ini
BOXES_REFERENCES_ENABLED=false

BOXES_PLACEHOLDER_PREVIEWS_ENABLED ​

Disable the placeholder previews in the Boxes Editor (introduced in 3.1).

ini
BOXES_PLACEHOLDER_PREVIEWS_ENABLED=false