I have no other way of explaining this other than the long way. Stay with me...

I created a view to override taxonomy term pages with a view of child-terms. Call this "View A".

The child terms have a taxonomy field where they tag themselves with their parent term.

The views override works as expected so far...

I have the packaged views taxonomy term override for the child terms that seems to kick in when the other doesn't find matches. Call this "View B".

If I go save View A, everything works as expected. If I save ANYTHING after View A, it stops working as expected and returns no results.

Let me know what you need to better help and I'll be quick to respond.

Comments

merlinofchaos’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

You need to provide more details about view A and B. My best guess is you're trying to have two views override the path taxonomy/term/% -- if that's the case, that's simply not possible with Views.

drewschmaltz’s picture

merlinofchaos - yes, 2 views overriding the same path. When one doesn't find matches, I want it to default to the other.

I ended up simply making the empty results default to a different view (both of them defaulting to each other). If neither return results, recurssion occurs. Other than that, it works like I want it to work.

What I'm really interested in is a good way to setup a category page of sub categories. Then the sub category page with products.

In Drupal 6 I would accomplish this by making a node type "category" - add fields to it - and set node relationships between them.

In Drupal 7, since the categories have fields, the logical setup is taxonomy terms and child terms.

If anyone else has found a way to make this work, please message me.

Otherwise, what I have works fairly well. I will post the results soon. I don't want to create a link to this beta page.

drewschmaltz’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

I guess this works as designed. The interesting thing was the behavior when say path : /a was overriden by 2 views - especially the behavior before anything else is saved. (nodes, settings, views, etc...)