如何在视图中添加自定义字段? [英] How do I add custom fields in a view?
本文介绍了如何在视图中添加自定义字段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经在Drupal 7中创建了一个视图,并使用表格作为格式。如何将自己的字段添加到该表中?
I have created a view in Drupal 7, and used "Table" as format. How can I add my own fields to that table?
推荐答案
在您看来,一种方法是对字段单击添加 ,然后按全局过滤,您将获得4种类型的自定义字段来添加。
One method is, in your view, click 'add' for fields, then filter by 'Global', and you will get 4 types of custom fields to add.
- 全局:上下文链接
- 全局:自定义文本
- 全局:数学表达式
- 全局:查看结果计数器
- Global: Contextual Links
- Global: Custom text
- Global: Math expression
- Global: View result counter
另一种方法是使用视图自定义字段 模块。
Another method is to make use of Views Custom Field module.
这篇关于如何在视图中添加自定义字段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文