I have been battling categories for weeks now and thought I would switch gears a bit and try views.

I think what I am trying is about the simplest example I could think of:

Images [container]
---- examples [category]
---- node 1 [category]
---- node 2 [category]

I added the above nodes and they all show up in my menu just fine.

I now try the 20 Steps to Views Happiness tutorial and basically do the following:

- add a view
- give it title, etc
- make a BLOCK view
- add a node:title field
- NO filters, NO args

- go to blocks and enable my new View Block

I now see my new block and sure enough the following titles appear:

• Images
• examples
• node 1
• node 2

BUT!!!

- go back to edit the view
- select to add filter: Tax – Vocab
- select All Of
- Images (my container) shows up in Value listing for the filter
- select Images
- SAVE

Now my block is empty

Seems pretty straight forward. Why does this not work.

Drupal 4.7.3 and version of CATs from about 2 wks ago and latest VIEWS module

Am i missing the point of filters. From reading a bunch of the postings it would seem that VIEWS and CATEGORIES are supposed to work together. Anyone have any ideas?

I think I will go back and remove categories and install original taxonomy module to see if this works – and if it does; I think getting pretty close to getting rid of categories.

Peter Lindstrom
www.LiquidCMS.ca

Comments

liquidcms’s picture

Title: should views not work with categories » good test

well that was a good test - i got rid of cats module and went back to original taxonomy module

to my surprise - my vocabs and terms were setup as expected.

BUT - my test block view is still empty.

So, either i am still missing the point of filters OR i guess the bug is actually with VIEWs and not CATs.

I guess i need to move this bug to VIEWs project...

bdragon’s picture

What happens if you go to Administer >> Modules and click Save Changes?

liquidcms’s picture

uhh, nothing. I have re-saved modules numerous times as i have pulled cats out, gone back to tax adn back again several times.

BUT.. does this mean you are suggesting that my filter query should actualy return something?

thanks,

liquidcms’s picture

Title: good test » why does cat/container filter show no results in view?
bdragon’s picture

Actually, I was trying to determine if it was a views cache problem. Views watches for the action of resubmitting the module page and rebuilds its cache in that circumstance.

liquidcms’s picture

please see my issue under VIEWS project: http://drupal.org/node/89213

after more testing it seems as though there is an issue with the tax_wrapper.

at first i thought the issue still existed with the original tax module; but this was only because i needed to re-save the nodes to re-tax them - once i did this my view worked correctly when filtering on tax term.

But using the wrapper and category module; the tid in term_node for my example in the link above; is always set to 1 even though the tid for the examples term is 12.

I guess i can do a bit more testing and start going through the tax_wrapper module - but how is it possible no one has seen this same issue????

liquidcms’s picture

Status: Active » Closed (fixed)

going to open NEW bug on wrapper module and close this one