Hello

I have created a custom build mode in Display Suite for my node-in-block pages. But I have noticed that the node is always rendered as a teaser. The following piece of code is responsible for that:

<?php
// Support for Node Displays module.
if (module_exists('nd')) {
  $node->build_mode = $row->render;
  $teaser = ($node->build_mode != 'full') ? TRUE : FALSE;
  $show_links = ds_show_field('nd', $node->type, $node->build_mode, 'links');
  $output .= node_view($node, $teaser, FALSE, $show_links);
}
?>

Is there a way to do this without hacking the module?

Thanks in advance!

Comments

swentel’s picture

Status: Active » Closed (works as designed)

Hrm, sadly enough not no, sorry about that. Would take a fairly big change to get that in.