No token for the url part of a link field in views
I would expect something like
[mylinkfield-url] to appear in the token list when having the link field in my field list in a view
but only
[mylinkfield]
is in the list delivering the title part of the link field
I installed and activated
link 7x 1.4
token
entity_token

Comments

Gerhard Roth created an issue. See original summary.

saurabh.dhariwal’s picture

For your need take add link field in view and set Formatter as per your need and set this field in another field using "Replacement patterns".

Thanks!

Gerhard Roth’s picture

Thanks. Thats working fine. I could add the field twice in the field list with different formatters and could use the second field (formatter "url as link") as token [mylinkfield_1] in the link path of an "output this field as link" option. Thats what I wanted to make an an image clickable with the url of the link field

saurabh.dhariwal’s picture

Good to hear that its working fine for you too :) Feel free to contact me for any queries/concerns related to Drupal. Happy to help!!

idebr’s picture

Status: Active » Closed (works as designed)

I'll close this issue since it appears to be solved. Feel free to reopen if you have any additional questions.