使用视图显示对象列表 - Drupal
我将简要解释我想要做什么:
我需要对分页页面中的一组内容类型进行排序。另外,我需要向页面添加过滤,例如每个内容类型应该有一组标签,并且过滤器需要过滤这些标签。
这是该页面的基本模型:
我发现很难找出最好的方法,如果可以的话完成。
非常感谢您的帮助!
I'll briefly explain what I'm trying to do:
I need to sort a set of content-types within a paginated page. Also I need to add filtering to the page, for example each content-type should have a set of tags and the filter needs to filter through these tags.
This is a basic mockup of what this page consists of:
I'm finding it quite hard figuring out the best way to do it, and if this can be done.
Help would be very much appreciated!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您所说的标签指的是分类法,则只需在视图中添加分类法过滤器并公开它即可。您需要实现的目标是简单且通用的。因此,正确的答案是建议您浏览 Views Documentation http://views-help.doc.logrus .com/
If by tags you mean taxonomy, you just add a taxonomy filter in the view and expose it. What you need to achieve is simple and generic. So a correct answer is ti suggest you go through Views Documentation http://views-help.doc.logrus.com/