Hi I'm not sure if I'm using the right module on this one. Maybe I will have to build my own module for this that's why I'm asking before getting started :D
I have 3 content types:
Type, Subtype and Product.
These 3 content type are related. Example:
Types :
id | Type
------------
1 | TV
2 | Videogame
3 | PC
Subtypes:
Type | Subtype
-----------------------
TV | Panasonic
TV | Philips
Videogame| Xbox
Produtcs:
Type | Subtype | Product
--------------------------------------
TV | Panasonic | 29 inches screen
TV | Philips | 50 inches screen
Videogame | Xbox | 80 GB
Videogame | Xbox | 40 GB
I've created a view with 3 exposed filters (Select) and one table (which looks like the one in products above).
The filters are:
Type, Subtype and Product.
Here is where the problem is:
When I select type and submit (apply), the table refreshs and shows only that specific type in the table BUT in the subtypes filter is still showing all the subtypes. I would like to show only the subtypes that belongs to that specific type that I've choosen. (Hierarchical Select?)
Please let me know if I made myself clear.
I would be really glad for any kind of help :).
PS.: I also assume that it may not be possible to archive in views thats why I'm asking.
Thanks!
-Raff
Comments
Why aren't you using Taxonomy
Why aren't you using Taxonomy for types and subtypes? Then you could use views to expose the filter for categories, or you could just use Drupal's built-in taxonomy handling.
_
definitely give hierarchical_select a try-- it works with views exposed filters.
hierarchical_select That dude
hierarchical_select
That dude deserves a cookie.
Best of all I spell hierarchy correctly most of the time now.
Thanks guys, I will convert
Thanks guys, I will convert it to taxonomy... Damn I dont know why I didnt use it in first place!
Cheers
Im using taxonomy now but...
Im using taxonomy now but I have a new problem: http://drupal.org/node/644498 Any help is very welcome!
Thanks