I have 3 node types:
- category
- subcategory
- product
These are all linked using Entity Reference module. All pages have a path (using autopath). What I want to do is show a view depending on the path.
So if I go to categories/category-a/ I want to show all subcategories of that category Same for the products. I want to show all products referenced based on the path.
I'm trying to make a view with path = categories/%
I set a "contextual-filter: content: nid
" - "provide default value" - "raw value from url". But when I visit "categories/category-a/" I see the node with this path. The view isn't shown.
Any idea what's wrong here?