【发布时间】:2015-04-19 02:00:31
【问题描述】:
我正在使用 ExpressionEngine 为时尚品牌设计一个网站。他们每个季节都有系列,他们为每个系列做多个“项目”。例如艺术品、视频等。例如 Collection A 可能有 3 个项目,而 Collection B 可能有 2 个项目。
Collections
- title (text input)
- url_title (text input)
- collection-year (text input)
- season (select dropdown)
- images (channel images)
Projects
- title (text input)
- url_title (text input)
- project-collection (relationship to collection)
- project-images (channel images)
关系似乎是将项目与集合联系起来的最佳方式。我正在努力为按集合分组的项目创建一个子菜单。比如……
Collection A
- Project 1A
- Project 2A
- Project 3A
Collection B
- Project 1B
- Project 2B
有什么想法吗?
谢谢!迈克尔
【问题讨论】:
标签: templates expressionengine relationships