In short, what we're looking into is this:

How do we go about creating a link to the edit page of the currently viewed node? Normal logic would suggest something like "node/[nid]/edit", but this doesn't seem to work. We'ere using the token text filter to replace text with tokens.

Any help appreciated.

Best,
Thomas

Comments

brichmond’s picture

Have you found a solution to this yet?

I have the token module and I am experiencing a similar situation. I am creating a link to add content, and based on the nid in the url path it'll dynamically fill in an entity reference. I have everything except getting the nid in the path.

I.E:
/node/add/application?field_job=[nid]

however I get the literal output [nid] instead of something like 499.

Hope someone take a look at this.