I’ve created a view with three fields :
Node: Title
Node: Body
Node: Link
Node: Post date

I’ve checked the checkbox “Link this field to its node” in the case of field “Title” and I’ve added a token [view_node] to Link path: for the field “Link”.
Both setting works fine and fields shows in the output as links pointing to parent node.

I’ve tried to add a token [view_node] to Link path: in Body field. The whole body is transformed in a link that point to http://mysite/[view_node]
Is it a bug or I’ve missed some settings?

I’m using Drupal 6 with Views 6.x-3.x-dev.
Thx

Comments

nirbhasa’s picture

I dont think so....on the face of what youre saying it seems only natural that the entire body field would be linked. I am wondering why you need link path in body field at all when you already have link field. Or perhaps I have just not understood.

ronline’s picture

@nirbhasa thx for passing by and apologize for not being clear.

The link “Read more” shows after each chunk of news. So far as user is on dedicated news page I don’t need to change body text to link coz “Read more” links are visible.

The point is that I have a Carousel view on front page. The carousel view shows smaller chunks where user can’t see the “Read more” links.
It is for this part I’d like to transform the body to hyper-link that is highlighting on hover.
It works !! The only problem is that the token [view_node] is not converted to page referenced node id.
Grosso modo the body text is transfered into http://mysite/[view_node] instead of http://mysite/node/page_id

nirbhasa’s picture

Make sure the 'Read more' link field appears before the Body in the field order - it has to be called if its token is being used, even if it is not being displayed

ronline’s picture

I’ve added a hidden node field “link” before the body.
Interface is showing following available substitution patterns :
[title] == Node: Title
[view_node] == Node: Link
[body] == Node: Body

I put the [view_node] into the Link path: text box of node:body field.
The body shows as following http://myserver/view.
The node id is still missing and link is pointing nowhere.

tescometro’s picture

2 years on and I'm seeing the exact same problem, as the last post here.

[view_node] when used in the link path of another field shows http://myserver/view instead being the link represented by the token.

usung views 6.x-2.12