I have created a view in Drupal 7, and used "Table" as format. How can I add my own fields to that table?
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.
来源:https://stackoverflow.com/questions/15162343/how-do-i-add-custom-fields-in-a-view