Orchard CMS best options for list

六月ゝ 毕业季﹏ 提交于 2019-12-25 02:29:34

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!