问题描述
我是果园新手,正在尝试寻找创建房屋列表(名称、地址、图片、价格和其他一些内容)的最佳方式.房屋将分为两个部分/类别(购买和出租).这两个选项将出现在菜单上.然后单击购买",您会看到所有标有该选项的房屋,同样可供出租.我还希望这些显示为图像和简要说明,然后单击更多"将您带到包含更多详细信息的页面,如上所述.然后也喜欢在侧边栏或类似的地方有特色房屋和最新房屋购买/出租小部件.
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
感谢所有帮助
推荐答案
您可以创建一个名为 House 的内容类型,其中包含您描述为字段的所有属性.然后创建预测(过滤为仅显示房屋)以显示您的购买和出租列表.
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.
这篇关于Orchard CMS 列表的最佳选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!