Score:0

Contextual filters don't work with url aliases

sg flag

I use contextual filters in a view to get the node ID from the URL (for example, node/6716/v1-vv-autor).

These are contextual filters settings.

screenshot

I would like to set a URL alias for the node, set using part/[node:title] as pattern.

The path I am using for the view is part/%/v2-vv-authors, which should also match http://landwehrcie.de/part/ich-bin-daniel/v2-vv-autoren.

The contextual filter doesn't work with the URL alias. I tried the following settings.

screenshot

I also tried using the Views URL Path Arguments module with the following settings, but I am not sure what comes in under Segments.

screenshot

May you help me?

Alfred Armstrong avatar
cn flag
The content ID is in the internal path, not the alias, so the "use path alias" checkbox should be off.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.