Hello,

My menus are based on taxonomy terms. I have two exposed filters for a menu. One of them is the country.
I would like to be able to have a block for the country at the top of my page, so that the user can choose for which country he wants the information. Then this "country" filter would apply on all menu elements, which are managed by views.

Is that possible in any way with view?
What i did so far is using the "Exposed form in block" to get the desired block at the top of the screen. Yet the bloc comes with too many filters in it (i just want the country), and the block is specific to my view (i can not choose to use that country filter for another view).

Any help would be very welcome! Don't hesitate to tell me if you think of possible solutions without using taxonomy terms but something else (CCK fields,...?) for that country filter!

Thanks a lot!

Matt

Comments

MattDrupalee’s picture

HI again,

After looking arround some more, i think arguments may be what i would need to solve this.. yet i'm lacking a bit of documentation to make it work (just asked it there).

Any thoughts?

Thanks a lot,

Matt

MattDrupalee’s picture

Hi again!

I finally managed to get a view "www.mysite/theview/" and by adding the country taxonomy terms at the end like this "www.mysite/theview/France" i then get all the elements of the country France, which is a taxonomy term passed as an argument in my view.

Yet now i would need to have a filter or button in my page, so that when the user clicks on the menu linked to that view "www.mysite/theview/" , the country selected by the user is automatically added to the end of the URL and so he gets to "www.mysite/theview/France". ANy idea on how i could do this?

Thanks a lot, any hints really appreciated,

Matthieu

MattDrupalee’s picture

Hi,

Just to say looking arround modules, i found this one which seems to answer my requirement:
http://drupal.org/project/country_code

This one is also kind of the same think:
http://drupal.org/project/zipcode_redirect

In case it helps other Drupalers..

Regards,

Matthieu

domesticat’s picture

Status: Active » Closed (fixed)

Closed while closing all Views support requests with no activity for 6 months. If you still need help, you may re-open this issue at any time.

MohammadMoussa-Lebanon’s picture

hello every body ,im trying to make a website for sales, but im facing a problem which is , i have 3 categories apartments (for sale , for rent , to buy ) ,lands (for sale , for rent , to buy ) , buildings (for sale , for rent , to buy ) ,
all i want to do is to place 2 select boxes and let the user select in the first box if he want apartment wo land or building and in the second box for sale or for rent or to buy and click a button which create a query and show all in the same page, i mean all results must be in the same page,please help me im a new drupal user ,its a hard problem:S:S:
thanks alot

dawehner’s picture

@che_viva

Please don't spam the issue queue. Doubling content doesn't help that someone answers your question.
If you create a new issue the chance is higher, too.
Please read http://drupal.org/node/571990 before posting :)