Description
The Content Page module allows requests to pages in your Drupal web site to be rendered with just the content area visible. This allows pages to be displayed in an iframe using modules like Shadowbox without too much work.
Module Usage
The main module just provides a hook to allow other modules to flag a request so that only the content will be displayed. There is a sub module called Content Page AJAX Request that will flag any request where $_GET['ajax_request'] is set to show only the content.
Depending on your theme, adjust the CSS selectors to style content that will appear in the content only mode. There is a body class, content-page-content-only, that is added when only the content is rendered.
Future Development
There are plans to work on a Content Page UI module that will allow site administrators to setup rules to set when a request should be rendered with just the content visible.
Project information
- Module categories: Content Display
- 144 sites report using this module
- Created by mjpa on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 7.x-1.x-dev updated 6 Jul 2016 at 20:22 UTC