Hi there,

What I'm asking for is probably a simple task, but I just don't know how to do it and where to start.
I have a view with an exposed filter - taxonomy. I also use Better Exposed Filters to display my taxonomy items with a checkbox instead of a dropdown. I would like to append a record count and a link (to the term) to the terms names, so the users could either filter the view by any terms they want, or go directly in a term page, listing all nodes with the related term.

Let me know if I'm not clear enough.

Thanks in advance,
Kevin

Comments

dawehner’s picture

Status: Active » Fixed

A simple task what a joke :)

If you need a record count you better use something like faceted search of apachesolr or searchlight. If you want to use basic views your server will cry.

You need to use hook_form_alter and change the output after better exposed filter changed the output. You can read out the tid and then add the link.
You would need to get the count manually by a custom sql.

So without custom coding this is impossible.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.