I understand the Viewfield module allows one to embed the view itself into a node. I'd like to instead display a LINK to the view.

I have already created the view and I want it to be linked on every node of the specific content type but want the view to automatically generate based on the nid of the node. I want to only have to define the view for the viewfield for the content type once, so that when ever a new node is created, the view link is automatically included and view handles the arguments based on the new node nid.

How?

Comments

keithm’s picture

Status: Active » Fixed

Sounds like you just want to embed a link to a view. The Link project provides a field to do this.

Stomper’s picture

Will the Link module enable me to set a "path template" that will automatically adjust for each view it's printed on?

I have a view that contains nodes referencing a given node, I'd like the link to be placed in the content type itself that once printed to screen will link to the correct view depending on the node the link is on.

keithm’s picture

Usually you can arrange this sort of thing using Views paths and tokens in your link.

Stomper’s picture

I've worked with tokens and paths before so I think I know what your saying.

I think a better way of saying what I need is whether the links themselves can include a "wildcard" that will automatically swap in the nid of the node it's print it on, and use that to generate the link/create the view?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Stomper’s picture

Not fixed