As a guess for passing in node id, I've tried %nid [nid] Nid but none work.

Searched but cannot find the documentation for this, sorry if it's somewhere obvious!
My actual requirement is not to pass in node id but to pass in a CCK fields as argument if possible...

CommentFileSizeAuthor
#1 argument to view.png52.2 KBfrost
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

frost’s picture

FileSize
52.2 KB

Just in case my explanation isn't clear:

I'm using a node reference field
The list of nodes that can be referenced is defined by a view, and that view requires a parameter.
I want the parameter to be the node id of the node i am editing. As seen in the screenshot I'm using Nid, but I've tried other variations on this.
Note that I don't have token installed, maybe I need this?

yched’s picture

frost’s picture

Thanks, at least I'm reassured it wasn't there somewhere obvious staring me in the face and I missed it ;-)

j0nathan’s picture

"subscribing" for reference

polmaresma’s picture

Since whe are in the edit page whe can take the node id directly from url:
http://drupal.org/node/833296#comment-3114718

Thank's for all your work!