Summary: there is no way to modify the title of the View tab that's used for the default node view.

----

I see in the code you have:

      if ($details['default_view_page']) {
        $have_default_view_tab = TRUE;
        $items[] = array(
          'href' => 'node/' . $current_node->nid,
          'title' => $tab_title,
        );
      }

I can't seem to figure out how to set that Title. It defaults to 'View'. Help!

Comments

BrockBoland’s picture

Version: 7.x-1.0-alpha1 » 7.x-1.x-dev
Component: Code » User interface
Category: support » feature

The View tab needs some work: I've been meaning to add an interface to manage this, so that you can change the label for it on each content type.

For the time being though, you can change it on line 195:

// Make sure that there is a link for the regular node view
if (!$have_default_view_tab) {
  $view_tab = array(
    'href' => 'node/' . $current_node->nid,
    'title' => t('View'),
  );

Just note that changing that 'title' value will affect all content types.

I'm going to switch this issue to a feature request to track the work for adding that interface.

BrockBoland’s picture

Issue summary: View changes

Updated issue summary.