Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm using Title for translating Node titles with entity translation.
This means, that in node:title is always original title on node, and in title_field is translated in selected languages.
But when I'm creating views with translated nodes, titles are still original (loaded from node:title).
How can I load in views title_field value except of original title?
Using last (available today) dev versions views, i18nviews, i18n, entity_translation, entity, entity_translation, title
Comment | File | Size | Author |
---|---|---|---|
#2 | title_field_view_config.png | 12.22 KB | GN |
Comments
Comment #1
stano.lacko CreditAttribution: stano.lacko commentedO.K. I found it ;-) Need find
Content: Title - appears in node:type (type as your node types)
except of Content: Title - The content title
I was thinking that this is same.
Comment #2
GN CreditAttribution: GN commentedI also had the same problem, and also found that there are two "Title" fields in the list; however, when you select the "replacement title" (field/title_field) instead of the "original title" (field/title), the option "Link this field to the original piece of content" in the field settings is not available (see a screenshot of the two configuration windows attached: the "original title" is on the left), and you cannot link the "replacement title" to its node.
A solution that I found is to add a "Link" field to the list of view fields after the "Title", to rewrite the output of this field with [title_field] token text, check "Output as a link" option, and to exclude the "Title" field from display.
Comment #3
int_ua CreditAttribution: int_ua commentedGN, I've opened a separate issue for this: http://drupal.org/node/1541414