Active
Project:
Advanced Taxonomy Menu
Version:
6.x-1.3
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2011 at 03:14 UTC
Updated:
10 May 2011 at 04:06 UTC
I have a use case where I have two vocabularies -- one is location based with 3 levels (country/region/city) and the other is profession based with 2 levels (e.g. musician/jazz or dancer/ballet). All of the terms in the 2nd vocabulary should be repeated in every term of the first vocabulary. Think of craigslist -- where I only want to show nodes of jazz musicians in one city, not all cities -- so I want to filter first by location and then by profession.
Is this at all possible with this module? Is this a feature request? Is it possible at all with drupal, without replicated the profession based vocabulary for every location (which doesn't seem possible)?
thank you!
Comments
Comment #1
NewZeal commentedThe best way to implement what you want there is not to use country/region/city as a taxonomy but use the location module for which there is country/region/city data already in place for a number of countries including the US.
Your musician/dancer and jazz/ballet vocabs will work with taxonomy menu if you use the same terms for dancer as you do for musician. I know you can do dance for most forms of music and probably vice versa. You can filter to only display terms with nodes so even if some music terms don't get used for dance and some dance terms don't get used for music then it doesn't matter.
There are specific reasons why adv_taxonomy menu only works for single level vocabularies. Most of your problems can be solved by ditching taxonomy for country/region/city.
The following site: http://www.posacs.co.nz/ is set up with both region/city search as well as category. The Jobs by Type menu lower right is dynamic in that it will only display items in the current city. Check the breadcrumb and title for details of current context. That is the kind of functionality you can get by using location and adv_taxonomy menu together. The adv_taxonomy menu is operating on two vocabs, one is job type, the other is permanent/temporary.
Comment #2
suffering drupal commentedHi New Zeal, very nice proposal, it would be magnificent not to have to think of location as taxonomy!
But HOW then exactly do you mean to "use" the location module in for example:
Menu:
Spain
-- Andalusia
---- Granada city
Being able to list content of either Spain, Andalusia or Granada city (monuments, hotels, restaurants -> the "dancers" of tchopshop's post)
Have this path: sitename.com/spain/andalusia/granada/monuments/alhambra.html (= final item)
And this breadcrumb: Home :: Spain :: Andalusia :: Granada city :: monuments
I have been trying now for several years...
For your information there's work being done on Location - Taxonomy integration: http://drupal.org/node/260726
also http://drupal.org/node/1094320
Comment #3
suffering drupal commentedsorry, deleted, was for another tread http://drupal.org/node/1094320
Comment #4
NewZeal commentedI am currently working on a listing module which does close to what you are looking at with a url of county/city/town/content-type/category/proximity. It currently does not support hierarchical taxonomy and the content type is compulsory but it is going in the general direction you're looking at.
Comment #5
suffering drupal commentedI already had come by "listing", but didn't really have a good look at it.
However, county/city/town/content-type/category/proximity definitly sounds extremely sexy to Drupals standards ;)
I'll keep an eye!
By the way your adv. tax. menu and webstruct had also drawn my attention. Hope to find the time to try them all out..
For optimal use of listing are adv tax menu and tax menu requiered as well?
Comment #6
suffering drupal commentedHi again New Zeal!
Unfortunately I am having a problem with Listing too... on activatiting the blocks Cities by States and Listing Menu I get:
Fatal error: Call to undefined function listing_location_get_state_name() in
sites/all/modules/listing/listing_menu/listing_menu.module on line 34
Today isn't my lucky I guess, I'll try again mañana, buenas noches!
Comment #7
tchopshop commentedHi there, thanks for the feedback... perhaps you are right that I should ditch taxonomy for location... I need to explore that... but my profession vocabulary has to be hierarchical because it's not just musician and dancers, it's artists of all sorts... which have no correspondence with each other. So I don't think that adv taxonomy menu will work if it's only single level... I like the sound of your listing module!