Hello-
I am having some difficulty with views and could use help! I am trying to set up a business style directory (I know about the module development history etc but I think what I want to do can be accomplished with views - please read on!). I have a content type/node called "shops" that has a title and description. I also created a custom cck field called town. I then created taxonomy items. The first is called "shops" which has vocabulary like "antiques", "arts", "entertainment" etc. The second taxonomy term is "towns" with vocabulary "town 1", "town 2", etc.

The view that I want to create is a table or grid that lists the type of store (from taxonomy "shops"), the town (from taxonomy "town"), and the title of the shop as a link to the listing. The last one I was able to produce by copying the tracker view and using the node title field.

Can anyone suggest how I can create a table view like this? Right now I am able to show the table with the title and town but I can't get the shop type. If I add another taxonomy vocabulary to the list of fields I get many duplicates. I can't create a filter that eliminates just the ones that are duplicated.

Is it possible to show a cck field as a filter or field item in the views? Perhaps I could present the town custom cck field rather than trying to get it using the taxonomy vocabulary?

Any help is much appreciated!

Comments

Jeff Burnz’s picture

Try the filter "Node: Distinct" and set the Operator to "is" and the value to "distinct".

brf123’s picture

I looked through all of the filter items and don't have "node:distinct". Is that part of a module that is not in the core installation?
Thanks for the reply! I really appreciate the help.

Jeff Burnz’s picture

Sorry, I just noticed you are using D6, perhaps the distinct filter is still missing from Views since, afaik, Views 6 is still in alpha?

brf123’s picture

The post from jmburnz got me thinking. I added a "Taxonomy: All Terms" field and limited the terms by vocabulary for the term that I needed. That works. It is a little closer to the business directory that would be very helpful here. Now what I need to do is create a higher level view that limits that presents either the shop type or town to drill down from.

Deviation’s picture

Sorry for reviving an old post....

How did you manage to get that to work? It doesn't seem to eliminate duplicates for me.

Jeff Burnz’s picture

If you are using Views 2, the "Distinct" setting is on the Basic Features pane. Check that.