I want to show related nodes of an open article in a block, but how do I access Node IDs from url in block view.
1 Answer
Assume your article is located at node/nid
(with nid
the id of the node of the article), then configure your contextual filter like so:
When the filter value is not available: Provide a default value with Type = "Content ID from URL" (that value should correspond to the
nid
of your article).