Download & Extend

Using Path Filter with views and Node:Link

Project:Path Filter
Version:6.x-1.0
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (works as designed)

Issue Summary

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

#1

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?

#2

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.

#3

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

#4

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.

#5

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.