Context sensitive View ... I need it too sensitive (Drupal 7)

1 reply [Last post]
jplascencia
Offline
Last seen: 6 years 33 weeks ago
Joined: 2012-05-31

My site will show a Business Listing (using a View).
All my business listings are classified using many taxonomies. Three of them can be "City", "Kind of Business" and ... "State"

After clicking on a Business Listing taxonomy term I can see all the business that share the same "category".

For example, after clicking on "Texas" (a taxonomy term in my listing) I can see all the business in Texas. But I see them in a very rude listing. To avoid that I can see that listing using a contextual View with one contextual filter/parameter. Ok, no problem.

But if I make a click on another vocabulary (the "City", for example) then I need to create (or clone) my previous View because if I add a second contextual filter then I don't see any listing under the View. Under the second View (the cloned or new one) I delete the previous filter and create a new one, based on the "new" ("cities") vocabulary.

The problem now is that... I have about 30 vocabularies.

Do I need to clone 30 Views?
Is it possible to have this View sensitive to 30 taxonomies?

Any additional suggestion about implementation?

My site is in Spanish, please let me know if you need to see it working.

Thanks.

symphonymous
Offline
Last seen: 6 years 27 weeks ago
Joined: 2012-06-14
filter criteria

soare you after a single view that can show different information based on these different taxonomies? does it have to use contextual filters? assuming you don't need to pass the filter to URL you could always use exposed filter criteria. goto filter criteria in views and add a filter then just select the option to let the user make the edits. it'll give you drop down menus that let you choose data based on the criteria (you can then hide that field so it wont actually display in the views, just for the sake of your filter).

is that a helP?

Add to playlist

Add to , or

Add to new playlist:

Add to playlist
This is a member-only feature
But, it's easy to become a member

Add to cart:


Loading...
Contact us

Below are the supported keyboard shortcuts for our video player.

space
Start / stop video
shift
Go to next video
shift
Go to previous video
Increase or decrease player speed by 20%
Skip ahead or go back by 15 seconds
1...9
Jump to a percentage (2 is 20%, for example)
f
Toggle full screen
Videos Pricing More Search
BuildAModule Logo Icon BuildAModule Logo Icon
Become a member!
$29
1 month
$156
6 months
10% off
$276
12 months
20% off
All memberships come with the following:
24 / 7 access to the entire 1800+ video library
An innovative video player with a rolling transcript
Extensive Drupal and cross-platform training
A thorough and thoughtful training style
Progress tracking
Take notes on specific video sections
Intuitive multi-user management
How many users?
user
Go solo with a single user, or give multiple team members access through one account and get discounts by bundling multiple users into a single membership.