Hello Drupal community,

I have what I thought would be quite a common scenario, but haven't been able to locate much from googling various sites.

I have a Views setup that simply lists an index page of a particular content type, nothing fancy, with an exposed filter showing taxonomy items.

By default that filter shows items in a select list, but I would like to break them out into simple text based links that, when clicked, behave in exactly the same way the select dropdown would.

Any one have a nice hax free clean solution for this ??

Thanks in advance!
C

Comments

roger.ajith’s picture

While expose the filter unchecked the option check box it is display a auto complete text box for taxonomy filter.

mndonx’s picture

There are a number of jquery plugins for custom styling of select form elements. They work by duplicating the select options and turning them into a pure ul li list (then hiding and showing them as a dropdown). I could see that kind of solution working for you, if you remove the jquery that makes it act like a select element. Uniform is one I've used before and like.

Otherwise, I'm not quite sure. You can also have remove the "force single" choice in your exposed filter, and that will return a list of taxonomy terms, but you would still mean you would have to click a "submit" button before filtering.

udane’s picture

I have the same problem, how did you solve it?
Thanks!

drupizzle’s picture

lefthandmagic’s picture

can someone who accomplished this please tell how they went about doing this?

I'm using drupal 7 and am looking for something that will help achieve this.

elBradford’s picture

This is exactly what I want. I played around with Better Exposed Filters module but that didn't go anywhere.

elBradford’s picture

Actually, I figured it out. You need Better Exposed Filters (http://drupal.org/project/better_exposed_filters). Then just show the exposed filter as "Links" and it will show them as links that you can theme.

ericpalace’s picture

Hi,

I need exactly the same and i'm playing as you (elBradford) with better exposed filters and views hacks, but i cannot find any option to show exposed filters as "Links", only as selector, autocomplete, checkboxes or radios... :(

Can you tell me which version are you using of views and better exposed filters, or any help about this will help me so much!

Thanks in advance,

Èric

ericpalace’s picture

Hi,

Sorry for my previous post, I've seen this option is only available in D7.

Do you know if the option of links in better exposed filters can be available with Drupal 6.22, views 3.x and better exposed filters 3.0?

Thanks in advance,

Èric

AlexanderPop’s picture

chichilatte’s picture

Links are working for me on D6.22, Views 6.x-3.0+67-dev, BEF 6.x-3.x-dev.