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

Version Downloads Date Links
7.x-1.3 tar.gz (9.2 KB) | zip (11.5 KB) 2011-Oct-05 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (9.23 KB) | zip (11.51 KB) 2011-Oct-06 Notes

Project Information


Maintainers for Content Page

  • mjpa - 10 commits
    last: 33 weeks ago, first: 35 weeks ago

Issues for Content Page

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports