I need help with organizing nodes. I am trying to create a review site. I am thinking of using the glossary views and filter the node type by food-places. The admin will list all the food places which will be organized using the glossary view. I want the user to fill out a form. The form will have a body to write the review and it will also include location and types of food. So I know how to get the list of food-places by using the glossary term. The url will be glossary/places/. When the user chooses a food place, I want them to see a list of locations to choose from. This will be based on what people write on the reviews. The url for this would be glossary/places/location/. From those list of locations, I want that to link to type of foods. The url for that would be glossary/places/location/type/. Once they click the type, it will show a list of reviews of that type of food at that location.
I think the modules I need are views and maybe node reference.
I'm not sure how to use views to show the location of the food-place base on what the user clicks on. I'm thinking i have to make a url argument like this, /%places/, which will show the location base on what place will be shown. I'm not sure how to filter the results to show what I want. And for the next view, I'm thinking the url would be /%places/%location. This will display the type of food base on the place and location.
I'm not sure how to incorporate the "write a review" part, but I think the views part would be harder to do. If anyone can lead me in the right direction, that would be great.
Comments
why noderefence / straightforward taxonomy?
Why are you thinking about node reference? That seems more complex than anything I read -- what's it for?
What I would recommend is to use taxonomy with one vocabulary for food and one for location (describe the difference between place and location -- is this just a hierarchy? Do you want to be using words, or lat/longitude?) -- super simple. Then see what out-of-the-box views you can find, or maybe a faceted search combined with a taxonomy-menu system to let people start with either place or food-type (so if you click Location-A, you see see a list of all the food types that are at that Location; start with food type, and see all the places that review that food type). Then come back and describe what you did and what additional features you need, and it will be easier to help.
Good luck!
I didn't realize how strong
I didn't realize how strong taxonomy was in organizing data.
Thank you for the response. I
Thank you for the response. I should have clarified it better. I meant food places. And yes it will just be a hierarchy that will narrow down the specific review that the user wants to look for. I thought of using taxonomy menu, but I wanted to organize the data in alphabetical order. That's why I used glossary. I couldn't figure out how to duplicate the glossary view so that it can alphabetize other things. I will work on this and hopefully get closer to what I want to accomplish.
I was able to get this to
I was able to get this to work using taxonomy terms, node title, and a cck field. I created one view that took each of these fields as arguments. So I typed in node-title/taxonomy-term/content-type in my argument preview and I was able to get this to work. However, I was not able to to get this to be able to work on a panel page. I'm not sure how to tell the views to look at the url for these terms , node-title/taxonomy-term/content-type, after node/%node using panels content settings. I I know what context to use for node-title which would be node title. I am not sure what to choose for taxonomy term and content-type because there are a lot of options.
For example:
Node view:
- Author ID
- ID of top taxonomy term
etc;
I would assume that it should be taxonomy term view instead of Node view. I'm guessing since this is a node view, that would be the reason why. I tried using node-title and two cck fields instead, but still cannot figure how to input it into panels settings. Any ideas or clarifications?