Using Path Filter with views and Node: Link

I did a view to display in a table view of titles and a link to the respective node of a certain type of content.

The display works well when the "Output this field as a link" get the absolute path

Rewrite the output of this field
Text:
ver

Output this field as a link
Link path:
http://example.com/ [view_node]
That work fine.

But fails to replace the absolute path to the Path Filter (enabled and added as a filter)

Try

Output this field as a link
Link path:
"internal:[node-views]"

too try which
internal:[node-views]
both failed generates bad code

and

[node-views]

Continues to generate the link on relative path.

Someone has an idea.
Sorry for my English

Comments

petrelharp’s picture

I think you're trying to link to other nodes in a view? Perhaps this won't address what you're trying to do, but maybe you can use a nodereference field?

mrfelton’s picture

Status: Active » Postponed (maintainer needs more info)

I too think that perhaps NodeReference would be better suited to your task, assuming I understand it correctly.

msteurs’s picture

I am having the same problem. Have you found a solution in the meantime ?
Thanks for your help, Maarten.

bathizte’s picture

I did a view to display in a table view of titles and a link to the respective node of a certain type of content.

The display works well when the "Output this field as a link" get the absolute path
...
But fails to replace the absolute path to the Path Filter (enabled and added as a filter)

What I understood here is that doknet wants to output some field as a link to a node reference.

A solution, in my case and if I understood correctly, did not use Path Filter :

  • Add a field node:nid, excluded from display
  • Output as a field using : link : node/[nid]

that's it : the link works, and is rewritten with its absolute path.

mrfelton’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Yep. Path Filter is not whats needed here. I think @bathizte hit the nail on the head.