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.
Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Content Display
- Reported installs: 184 sites currently report using this module. View usage statistics.
- Downloads: 968
- Last modified: September 24, 2011