views and filters: any help?

View: New views
2 Messages — Rating Filter:   Alert me  

views and filters: any help?

by Simone Dal Maso :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi,
I hope to explain well my problem.I have a file in excel format.
I saved it into .csv and imported with the node_import module.Now I hve about 1500 nodes and each column of the file is assigned to a cck field.
So, about 12 cck fields, that's all ok.
Suppose the matter is pc.
Each node is a detailed information of a model.
The node contains for example:
processor type, ram, hard disk size, model (desktop/laptop/pda), etc etc.
Now I made a view in which I can see all results in a table.
The problem is that I'd like to use the filters exposed to the users.
The user should have the ability to select the desired type of pc from a listbox (desktop, laptop, pda) and in another listbox select the preferred ram (512, 1024, 2048).
My problem is that I have the two listbox, but, I'd like that if the user select desktop, in the other listbox it must appear only the value of ram of desktop model, instead, the second listbox shows all values of ram, regardless of the selected previews listbox.
So if the user select PDA, the second listbox shows all values of ram, and obviously this is not good, because a PDA with 8 giga of ram  is not present in the database.
How can I solve this?
any idea?
thanks.
 
 

--
[ Drupal support list | http://lists.drupal.org/ ]

Re: views and filters: any help?

by KOBA | Hans Rossel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Check out some of the solutions and links on
www.drupal.org/node/124596 for dependant dropdowns for views exposed
filters.

Hans

2009/10/24, Simone Dal Maso <simone.dalmaso@...>:

> Hi,
> I hope to explain well my problem.I have a file in excel format.
> I saved it into .csv and imported with the node_import module.Now I hve
> about 1500 nodes and each column of the file is assigned to a cck field.
> So, about 12 cck fields, that's all ok.
> Suppose the matter is pc.
> Each node is a detailed information of a model.
> The node contains for example:
> processor type, ram, hard disk size, model (desktop/laptop/pda), etc etc.
> Now I made a view in which I can see all results in a table.
> The problem is that I'd like to use the filters exposed to the users.
> The user should have the ability to select the desired type of pc from a
> listbox (desktop, laptop, pda) and in another listbox select the preferred
> ram (512, 1024, 2048).
> My problem is that I have the two listbox, but, I'd like that if the user
> select desktop, in the other listbox it must appear only the value of ram of
> desktop model, instead, the second listbox shows all values of ram,
> regardless of the selected previews listbox.
> So if the user select PDA, the second listbox shows all values of ram, and
> obviously this is not good, because a PDA with 8 giga of ram  is not present
> in the database.
> How can I solve this?
> any idea?
> thanks.
>
>


--
Hans Rossel
KOBA Webdesign bvba
Beukenlaan 56
9051 Gent (Sint-Denijs-Westrem)
Belgium
BTW 0817.931.516
+32.9.334.52.60
+32.472.79.32.16
www.koba.be
info@...
--
[ Drupal support list | http://lists.drupal.org/ ]