0% found this document useful (0 votes)
42 views

Views Formats

Views allows content to be displayed to users in different formats, with five standard formats being grid, HTML list, jump menu, table, and unformatted. Each format can have additional configuration settings. Common modules also provide additional view formats like maps, tables, and calendars to change how results are presented.

Uploaded by

program love
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views

Views Formats

Views allows content to be displayed to users in different formats, with five standard formats being grid, HTML list, jump menu, table, and unformatted. Each format can have additional configuration settings. Common modules also provide additional view formats like maps, tables, and calendars to change how results are presented.

Uploaded by

program love
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Views formats

How view results are displayed to end users is ultimately determined by the view format. A layer of Views
formatting, processing and wrapping the data when a view displayed is called to be embedded by Drupal.

A standard Views installation has five view formats (see figure 9.15):

• Grid: This provides a grid with a configurable number of columns, with one view result per grid
square. Grid settings include if the results should be ordered horizontally or vertically. It is worth
knowing that the grid format uses a HTML table, which some would like to avoid to style presentation.
• HTML list: This provides an ordered or unordered HTML list.
• Jump menu: This creates a shortcut menu, linking to a URL provided by a selected view field. Format
settings include whether the current path should be the default option in the jump menu.
• Table: This provides a table of the view data. Settings include making the table headers click-sortable
and the option to display several view fields in the same column.
• Unformatted: This provides a list of the results without any special markup.

Each view format can have a number of extra settings. (See figure 9.16) Many modules provide additional
view formats.

Figure 9.15: The view format can change the view presentation completely – for example into maps,
tables, calendars or jump menus.
Figure 9.16: Each view format may have a number of format-specific settings. These are the settings for
the table format, including click-sortable columns.

Attachment Size
08.15 view formats.png 28.68 KB
08.16 view format settings.png 63.03 KB

Row style

‹ Elaboration: How far should I override? up Row style ›

Tutorials and site recipes


Book: Drupal 7 – the Essentials
Introduction
Part A: Drupal core basics
Part B: Information structure in Drupal
6: Fields
7: Taxonomy
8: View modes and field display
9: Views basics
Installing Views
Views overview
Creating new views
The Views main configuration panel
Configuring filters
Configuring view fields
Configuring sorting
A few more basic Views settings
Displays
Views formats
Row style
The Views preview
Example implementation of basic Views configuration
Exercises: documentation site
Exercises: News site
10: Advanced Views configuration
Part C: Other essential modules
Appendix 1: Installation, code base management and themes
Appendix 2: Drupal andDrupal
languages
is a registered trademark of Dries Buytaert.
Drupal 7 - How to use Drupal's i18n and Organic Groups modules to create an international website
Site building: beginner, intermediate, advanced
Videos and slides
Tutorials

You might also like