1

How to set in "Output this field as a custom link" a link to the content.

In drupal 7 it looks like this:

https://www.drupal.org/node/1578524

Tried this, but this doesn't work:

enter image description here

Replacement patterns in image field:

enter image description here

And in link to content field: enter image description here

  • Did you use the right token from the "Replacement Patterns" drop down in that interface? – Kevin Dec 12 '17 at 20:05
  • where isn't suitable token in "Replacement Patterns" list – Crantisz Dec 12 '17 at 20:06
  • Did you add the node id field into the view? – Kevin Dec 12 '17 at 20:25
  • 1
    Also, if you are "Link to the Content", you don't really need to supply the node path again. – Kevin Dec 12 '17 at 20:40
  • I have the same issue. But I want to link to event/{{ nid }} – Casper Jul 5 '19 at 11:44
1

Found a solution:

  1. Add a Link to Content field, outer fields hide from display and remove links.

enter image description here

  1. then setup Link to Content like this:

enter image description here

Link to Content haven't link path input - it always link to content. This what I needed!

Not the answer you're looking for? Browse other questions tagged or ask your own question.