I have Pathauto installed, so URLs to nodes are not like node/3
. My question is that if I write a View with a contextual filter for looking for node/3
, will it work?
Note: This contextual filter is in a block. See this question.
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.
Sign up to join this communityI have Pathauto installed, so URLs to nodes are not like node/3
. My question is that if I write a View with a contextual filter for looking for node/3
, will it work?
Note: This contextual filter is in a block. See this question.
You would get the node id(nid) as argument. Internally the system gets its data from the unaliased url, not the browser url created with path_auto.
pathauto only generates aliases. the nid stays the same. so contextual filters based on nid no problem.