问题
I am new to orchard and am trying to find the best way to create a list of houses (name, address, pictures, prices and a few others). The houses are to be in two sections/ categories (Buy and Rent). These two options will appear on the menu. Then on clicking buy you get all houses flagged with that option and likewise for rent. I would also then like these displayed as images and brief description then on clicking more take you to a page with lots more details as mentioned above on the house. Then also like to have featured houses and latest houses buy/ rent widgets in the sidebar or similar.
There seems to be lots of ways to do this ie content types, projection, taxonomies, lists etc. But what is the best way in the case please. I dont want to go one way and then find i cant do it i would rather get some help here now and do it right.
Things i have read and watched to help:
http://www.youtube.com/watch?v=uDqY14mDG_Y&feature=youtu.be
http://docs.orchardproject.net/Documentation/Creating-lists
All help appreciated
回答1:
You could create a content type called House with all the properties you described as fields. Then create projections (filtered to only show Houses) to display your Buy and Rent listings.
来源:https://stackoverflow.com/questions/13272473/orchard-cms-best-options-for-list