I've installed Exclude node title, and want to remove titles for each node from the form. I've checked "Exclude title from display", but it still doesn't go away. I suspect this is because I also have installed the "Title" module (http://drupal.org/project/title). This module replaces the title field with a new title field that can be translated by entity translation.

Is this the reason why it is not working, or can it be another reason? Is it okay to open this as an issue here, or should I report to the other module?

Comments

areafix’s picture

Version: 7.x-1.5 » 7.x-1.6

Same situation. Title module is important for entity_translate module.

Noyz’s picture

Same issue for me.

fizk’s picture

Component: Code » Integration with other modules/themes
Category: bug » feature
fizk’s picture

Version: 7.x-1.6 » 7.x-1.x-dev

I've made some changes to the latest dev. Can you please check to see if this is still an issue?

fizk’s picture

Status: Active » Closed (fixed)

I tested this with the latest version of title and everything seems to be working properly. Please reopen if this is still an issue.

andrewtur’s picture

Issue summary: View changes

Hello I've git the same problem im using the Title module ( tried the 1.7-a7 and the dev) and the ENT (1.7) put cant get ist to work in die title_field it works fine on the normal title. But I also need the title module for entity translations.

Drupal (7.26)

andrewtur’s picture

Status: Closed (fixed) » Active
fizk’s picture

Status: Active » Postponed (maintainer needs more info)

andrew@universum, what are the steps needed to reproduce the issue you're seeing?

andrewtur’s picture

The Title is remove by placing an empty string into the $vars['title']

/**
 * Remove the title from the variables array.  
 */
function _exclude_node_title_preprocess(&$vars, $node, $view_mode) {
  if (_exclude_node_title($node, $view_mode)) {
    $vars['title'] = '';
    if ($view_mode == 'nodeform') {
      // Also remove the field from the form
      $vars['page']['content']['system_main']['title']['#access'] = false;
    }
  }
}

but since this is being replaced by a field $vars['content']['title_field'] i had to clear the string here to

    $vars['content']['title_field'][0]['#markup'] = '';

not the best way to do ist but i needed a fast fix
hope this helps

fizk’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

I can't reproduce this issue.

fab01’s picture

I made a check as well concerning this issue.
I have used both the exclude node title versions: alpha9 and dev.
None of the above is working with Title module.
I took a look at the code and it's quite easy to understand why it doesn't work.
There is no mention to field_title field.
This module alter the output of just default 'title' field, nothing else.

The fact you can't reproduce the error makes me think that probably you haven't configured Drupal Title module in a proper way.