1

i have created a content type in which i have a field with a select list. I create views for each option i have on the select list and am not sure how to go about it.

Example - Select list options - car, bicycle, motorcycle

View displaying all cars view displaying all bicycles view displaying all motorcycles

i Have tried using taxonomy but i keep getting ajax errors hence why i created a cck select list.

Thank you in advance.

closed as unclear what you're asking by kiamlaluno Jul 2 at 6:16

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

2

In a page view, add all of the fields you wish to display. Then add a filter in the Filter Criteria area that includes this field, then set the Operator to once specific selection (e.g. cars). Clone each page and override this filter for each page to filter for the other selections. (You could also just create on page view and expose the filter for users to change it on the fly.)

  • ah, beat me to it – 7wonders Jan 25 '12 at 20:41
2

Go to Add new view, give it a name, Show Content of type YOURCONTENTTYPE, Create a page = yes, give it a URL and then click continue and edit. Pick which fields you want shown (or full rendered entity etc) and display style (show as a grid, table etc). Add a filter criteria and choose the select list field (or taxonomy term if you want to go back to that way) and expose it. This will now give you a page (the url you chose) where users can click a dropdown list to get the list of items.

If you wanted to go back to using taxonomy you could easily do so without even touching views. Basically you would let the users choose a taxonomy term from the vocabulary and clicking that taxonomy link on the node page will go to a taxonomy listing all the nodes tagged with that term. If you want to use views to do the same you need to start using contextual filters and depth modifiers (see the default taxonomy view as an example).

  • Settled on using taxonomy vs cck select lists, easier to manipulate, thanks. – Jasmine Ahmed Feb 9 '12 at 17:44
  • i am trying to use the default taxonomy view but am not sure whether i need to change path from the default taxonomy/term/% to something else? thanks in advance. – Jasmine Ahmed Feb 20 '12 at 21:26

Not the answer you're looking for? Browse other questions tagged or ask your own question.