I'll try to explain it. Here we go.
Searched all over the web but got nothing.
I've got a setup where no category is used in the URL. Navigation is build with stucture. I've got a channel with entries which do have a category.
When I create a entry with structue I assign a category as well. You'll get something like this in stucture:
Locations - Location A (has template X and category Y) - Location B (has template X and category Z)
Now the url looks something like this: www.website.com/locations/location-a/ www.website.com/locations/location-b/
I don't know the category. But I do want to display the entries which belong to the Location with category Y or Z.
The solutions I've tried all need the cat name or id in the URL
It could be that I'm looking at it the wrong way. Hope someone can help me or point me in the right direction.
Cheers, Martijn
{exp:channel:entries channel="location" dynamic="no" category="{cat}"}
. Where{cat}
is de category which I must get from somewhere