Fields are only applicable to a view if either the page or block type is set to List or Table view. If using a purely teaser view, fields will be ignored.
Fields tell Views exactly what to display and in what order.
The Fields section is a variable length list of fields. The icons to the right can be used to change the order of the fields, or remove them. To add a field to the list, simply choose one from the select box and click 'Add Field'.
- This is simply the name of the field.
- This is the label that will be associated with the field. If blank, its meaning changes depending on view type. In List View, blank labels simply won't be displayed. In Table View, however, blank labels will display the Name field as the default label.
- The Handler is specific to a given field. Not all fields have handlers. It allows you to choose how a given field is displayed, if there is more than one choice. For example, date fields have several options to choose from: It can be displayed as an age, or as short/medium/long dates.
- If a field can be sorted at all, you can use this field to determine whether or not the user is allowed to sort it by clicking on the column header in a table view. This field has no meaning in a List View.
- Default Sort
- If any fields are set sortable, one and only one field should also be set as the default sort.
What follows are some of the fields that Views supplies by default. There can be many more fields than this! Modules can provide these as they like, but this is a nice overview of what is easily available.
- Node: Title
- Display the title of the node.
- Node: Created Time
- Display the post time of the node.
- Node: Updated Time
- Display the last time the node was updated.
- Node: Type
- The Node Type field will display the type of a node (for example, 'blog entry', 'forum post', 'story', etc)
- Node: Author Name
- This will display the author of the node.
- Comment: Last Comment Time
- This will display the last comment time.
- Comment: Last Comment Author
- This will display the name of the last user to comment on the post.
- Comment: Count
- This will display the comment count.
- Taxonomy: All Terms
- This will display all taxonomy terms associated with the node. Note that this causes one extra query per row displayed, and might have a minor performance impact.
- Taxonomy: Terms for A Particular Vocabulary
- This will display all taxonomy terms associated with the node that are members of the named vocabulary. Note that this causes one extra query per row displayed, and might have a minor performance impact.
- Taxonomy: Term
- This will display one of the taxonomy terms associated with the node; if taxonomy terms were used to filter or sort, it will be the one that triggered the sort or filter. Please note that if your node has multiple terms associated with it, this field can cause your post to show up multiple times!
- Taxonomy: Term Description
- This will display the description associated with a taxonomy term.