chromeless
Introduction
This project allows you to render only the main content of pages by adding chromeless=1 to the URL query parameters. All other blocks in the block layout will be hidden while chromeless mode is active.
Features
This project provides two new query parameters:
chromeless: If present, the value of this parameter determines whether to enable or disable chromeless mode.title: If present, the value of this parameter determines whether to show or hide the page title while chromeless mode is active.
Visiting a URL with either of the query parameters will store the expressed preference for the current session. The value of each parameter will be converted to an integer, and this module will treat any non-zero value as TRUE.
Post-Installation
This module has no mandatory configuration or post-installation steps.
If you wish to customize the names of the query parameters, you can do so by overriding these container parameters in your site-wide services.yml file:
chromeless.query.activechromeless.query.title
Each user's preferences will be stored for 1 week by default. You may wish to shorten the validity period of items created by Drupal's private temp store mechanism if your chromeless pages will be accessed by a large number of distinct user agents.