print pdf

- set available print links for our view modes
- hide flags from print

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy
2013-01-15 15:57:54 +01:00
parent a6f0f199b5
commit fc0253d9c2
2 changed files with 9 additions and 5 deletions

View File

@@ -223,8 +223,12 @@ function materio_search_api_entity_info_alter(&$entity_info) {
*/
function materio_search_api_node_view($node, $view_mode, $langcode) {
if (in_array($view_mode, array('cardsmall','cardmedium', 'cardbig', 'cardfull'))) {
# PRINT 7.1
print_node_view($node, 'full');
print_pdf_node_view($node, 'full');
# PRINT 7.2-beta
//print_ui_node_view($node, 'full');
// dsm($node, 'node');
}
}