简体   繁体   English

使用视图显示对象列表-Drupal

[英]Displaying a list of objects with Views - 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!! 帮助将不胜感激!

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/ 因此,正确的答案是建议您浏览Views文档http://views-help.doc.logrus.com/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM