summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves Chedemois2009-05-07 15:28:28 (GMT)
committer Yves Chedemois2009-05-07 15:28:28 (GMT)
commitf44611725f93c09a1af731148385d089cffe8ae1 (patch)
tree57b236e6045d0db4ee9c224800c2ad5faad7a316
parent0e2cd8d00bbff5e8649931075466e9d101332d03 (diff)
#441412 by jcnventura - Add 'Print' display context on 'Display fields' pages when book.module is enabled.
-rw-r--r--CHANGELOG.txt1
-rw-r--r--content.module13
2 files changed, 14 insertions, 0 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 1728d0f..9232d6e 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 221b138..177a3f1 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.