I have a view which shows a list of articles, located at:
Each article is linked to its main sub page view, like this:
The URL path is created with autopath & URL aliases.
In views, how do I create a contextual filter to show only the selected sub page view?
I have this as my path in views:
but don't know where to go from here. I tried title and making it lowercase and replacing spaces with a hyphen, but that won't always work and the URL aliases change the URL such that it removes words like:
a, an, as, at, before, but, by
And if a page title is:
This is my page title - with this
The URL alias becomes:
Therefore it won't be able to match in my contextual filter using the page title.
What am I missing?