diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 1728d0f595079b6c315b41209b1eb4ddfa1b19ea..9232d6e1dc60e80ff411b0991a3c9b0bbf0b3cdd 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -22,6 +22,7 @@ Bugfixes: - #428400 Views integration : Fix fatal error with Views 2.4 (views_handler_filter_float has moved). Preserved compatibility with Views 2.3. - #447562 by markus_petrux: fix non-XHTML markup on 'Manage fields' screen. - #369364 Views integration: fix non-XHTML markup when displaying fields with the 'group multiple values' option. +- #441412 by jcnventura - Add 'Print' display context on 'Display fields' pages when book.module is enabled. CCK 6.x-2.2 =========== diff --git a/content.module b/content.module index 221b1387df6a2b7dc98a08e1bd0b8fea5f06a641..177a3f151b2ca4edd967cd640347fbbf8c6fb874 100644 --- a/content.module +++ b/content.module @@ -1887,6 +1887,19 @@ function search_content_build_modes() { ), ); } +function book_content_build_modes() { + return array( + 'print' => array( + 'title' => t('Print'), + 'build modes' => array( + NODE_BUILD_PRINT => array( + 'title' => t('Print'), + 'views style' => TRUE, + ), + ), + ), + ); +} /** * Generate a table name for a field or a content type.