Skip to main content
edited response based on new question info
Source Link

How lucky that views already hasI'm editing my response based on your latest comment!

============================================================

One way I think you can do what you're trying to do is incorporate facets into your page with those specific taxonomy terms placed on the abilitypage as facets.

You'd need to letuse the Facet API module and the Faceted Navigation for Search module. You can see the module page for an example interface - do you expose filterssee how the screenshot on the module page shows a site where you can narrow the results based on fields/facets on the side? I'm adding a screenshot from a site of my own that I've set up to your usersuse facets, sothough it's themed very differently. The other great thing about facets is that they can select field values, just likeshow you describe, andhow many nodes you have tagged with the views results automaticallyfields/terms you want to filter based on these selections.

Here's how you implement them:enter image description here

  • Go in to edit your view, and look at the 'Filters' section. You probably don't have any exposed filters yet.
  • Either start adding a new filter, or edit one of the already existing ones, if you want it to be one that is exposed to your users (so they can use it): enter image description here
    (as you can see, I have three exposed filters above)
  • Next, as you're setting up your new filter (or editing one), look for the checkbox that controls whether the filter is exposed or not. Check it! enter image description here

The newly exposed filters should appear in your view's previewEssentially, orwhat facets do is give you can save and visit the view pageability to check it outFILTER/narrow listings based on select-type fields or taxonomy terms. Exposed You can combine these filters look like this (this is the view preview, sojust as you see some extra admin mark-up):describe.

enter image description here I've only used the facet api with solr search, not core drupal, so I don't know if I can help you much on the exact setup, but perhaps this can at least guide you into another potential way to achieve your goal (if it's not overkill to learn all about facets and how you may be able to do this through search).

If you have multiple filters exposed, they work together beautifully! LetLet us know if thishow it works out foror if you. figure it out!

How lucky that views already has the ability to let you expose filters to your users, so they can select field values, just like you describe, and the views results automatically filter based on these selections.

Here's how you implement them:

  • Go in to edit your view, and look at the 'Filters' section. You probably don't have any exposed filters yet.
  • Either start adding a new filter, or edit one of the already existing ones, if you want it to be one that is exposed to your users (so they can use it): enter image description here
    (as you can see, I have three exposed filters above)
  • Next, as you're setting up your new filter (or editing one), look for the checkbox that controls whether the filter is exposed or not. Check it! enter image description here

The newly exposed filters should appear in your view's preview, or you can save and visit the view page to check it out. Exposed filters look like this (this is the view preview, so you see some extra admin mark-up):

enter image description here

If you have multiple filters exposed, they work together beautifully! Let us know if this works out for you.

I'm editing my response based on your latest comment!

============================================================

One way I think you can do what you're trying to do is incorporate facets into your page with those specific taxonomy terms placed on the page as facets.

You'd need to use the Facet API module and the Faceted Navigation for Search module. You can see the module page for an example interface - do you see how the screenshot on the module page shows a site where you can narrow the results based on fields/facets on the side? I'm adding a screenshot from a site of my own that I've set up to use facets, though it's themed very differently. The other great thing about facets is that they show you how many nodes you have tagged with the fields/terms you want to filter on.

enter image description here

Essentially, what facets do is give you the ability to FILTER/narrow listings based on select-type fields or taxonomy terms. You can combine these filters, just as you describe.

I've only used the facet api with solr search, not core drupal, so I don't know if I can help you much on the exact setup, but perhaps this can at least guide you into another potential way to achieve your goal (if it's not overkill to learn all about facets and how you may be able to do this through search).

Let us know how it works out or if you figure it out!

added 238 characters in body
Source Link

How lucky that views already has the ability to let you expose filters to your users, so they can select field values, just like you describe, and the views results automatically filter based on these selections.

Here's how you implement them:

  • Go in to edit your view, and look at the 'Filters' section. You probably don't have any exposed filters yet.
  • Either start adding a new filter, or edit one of the already existing ones, if you want it to be one that is exposed to your users (so they can use it): enter image description here
    (as you can see, I have three exposed filters above)
  • Next, as you're setting up your new filter (or editing one), look for the checkbox that controls whether the filter is exposed or not. Check it! enter image description here

GoThe newly exposed filters should appear in to edit your viewview's preview, or you can save and look atvisit the 'Filters' sectionview page to check it out. You probably don't have any exposed Exposed filters yet.

Either start adding a new filter, or edit one oflook like this (this is the already existing onesview preview, ifso you want it to be one that is exposed to your users (so they can use itsee some extra admin mark-up): enter image description here

(as you can see, I have three exposed filters above)enter image description here

Next, as you're setting up your new filter (or editing one)If you have multiple filters exposed, lookthey work together beautifully! Let us know if this works out for the checkbox that controls whether the filter is exposed or notyou. Check it! enter image description here

How lucky that views already has the ability to let you expose filters to your users, so they can select field values, just like you describe, and the views results automatically filter based on these selections.

Here's how you implement them:

Go in to edit your view, and look at the 'Filters' section. You probably don't have any exposed filters yet.

Either start adding a new filter, or edit one of the already existing ones, if you want it to be one that is exposed to your users (so they can use it): enter image description here

(as you can see, I have three exposed filters above)

Next, as you're setting up your new filter (or editing one), look for the checkbox that controls whether the filter is exposed or not. Check it! enter image description here

How lucky that views already has the ability to let you expose filters to your users, so they can select field values, just like you describe, and the views results automatically filter based on these selections.

Here's how you implement them:

  • Go in to edit your view, and look at the 'Filters' section. You probably don't have any exposed filters yet.
  • Either start adding a new filter, or edit one of the already existing ones, if you want it to be one that is exposed to your users (so they can use it): enter image description here
    (as you can see, I have three exposed filters above)
  • Next, as you're setting up your new filter (or editing one), look for the checkbox that controls whether the filter is exposed or not. Check it! enter image description here

The newly exposed filters should appear in your view's preview, or you can save and visit the view page to check it out. Exposed filters look like this (this is the view preview, so you see some extra admin mark-up):

enter image description here

If you have multiple filters exposed, they work together beautifully! Let us know if this works out for you.

Source Link

How lucky that views already has the ability to let you expose filters to your users, so they can select field values, just like you describe, and the views results automatically filter based on these selections.

Here's how you implement them:

Go in to edit your view, and look at the 'Filters' section. You probably don't have any exposed filters yet.

Either start adding a new filter, or edit one of the already existing ones, if you want it to be one that is exposed to your users (so they can use it): enter image description here

(as you can see, I have three exposed filters above)

Next, as you're setting up your new filter (or editing one), look for the checkbox that controls whether the filter is exposed or not. Check it! enter image description here