There should be an option to not show contextual links(similar to Display Links & Display node comments) because in my use case I am using this module to export nodes as a word document using http://drupal.org/project/views_data_export
In the document generated I see Edit & Delete

To get rid of contextual links I made the following changes in code

$content = node_view($node, $node->build_mode);
			if (!$options['contextual_links']) {
        unset($content['#contextual_links']);
      }
      if (!$options['links']) {
        unset($content['links']);
      }

Comments

hefox’s picture

This sounds great; I personally don't have time to work on it but welcome any patches

danillonunes’s picture

Status: Active » Needs review
StatusFileSize
new1.74 KB

This patch should handle it.

hefox’s picture

Looks good; simple enough that one positive review should make this RTBC.

Thanks.

hefox’s picture

Issue summary: View changes

Added fix