Views template files

  1. cis7 sites/all/modules/ulmus/views/theme/theme.inc views_templates
  2. cle7 sites/all/modules/ulmus/views/theme/theme.inc views_templates
  3. elmsmedia7 sites/all/modules/ulmus/views/theme/theme.inc views_templates
  4. icor7 sites/all/modules/ulmus/views/theme/theme.inc views_templates
  5. meedjum_blog7 sites/all/modules/ulmus/views/theme/theme.inc views_templates
  6. mooc7 sites/all/modules/ulmus/views/theme/theme.inc views_templates

All views templates can be overridden with a variety of names, using the view, the display ID of the view, the display type of the view, or some combination thereof.

For each view, there will be a minimum of two templates used. The first is used for all views: views-view.tpl.php.

The second template is determined by the style selected for the view. Note that certain aspects of the view can also change which style is used; for example, arguments which provide a summary view might change the style to one of the special summary styles.

The default style for all views is views-view-unformatted.tpl.php

Many styles will then farm out the actual display of each row to a row style; the default row style is views-view-fields.tpl.php.

Here is an example of all the templates that will be tried in the following case:

View, named foobar. Style: unformatted. Row style: Fields. Display: Page.

  • views-view--foobar--page.tpl.php
  • views-view--page.tpl.php
  • views-view--foobar.tpl.php
  • views-view.tpl.php
  • views-view-unformatted--foobar--page.tpl.php
  • views-view-unformatted--page.tpl.php
  • views-view-unformatted--foobar.tpl.php
  • views-view-unformatted.tpl.php
  • views-view-fields--foobar--page.tpl.php
  • views-view-fields--page.tpl.php
  • views-view-fields--foobar.tpl.php
  • views-view-fields.tpl.php

Important! When adding a new template to your theme, be sure to flush the theme registry cache!

See also

_views_theme_functions()

Globals

Namesort descending Location Description
$tmp_featured_row profiles/cis/themes/cis-theme/templates/views-view-fields--nodequeue-6--block.tpl.php @file Default simple view template to all the fields as a row.

Files

Namesort descending Location Description
eva-display-entity-view.tpl.php sites/all/modules/ulmus/eva/eva-display-entity-view.tpl.php eva-display-entity-view.tpl.php Entity content view template
media-views-view-media-browser.tpl.php sites/all/modules/ulmus/media/media-views-view-media-browser.tpl.php media-views-view-media-browser.tpl.php View template to display a grid of media previews in the media browser.
views-data-export-txt-body.tpl.php sites/all/modules/local_contrib/views_data_export/theme/views-data-export-txt-body.tpl.php views-view-table.tpl.php Template to display a view as a table.
views-data-export-xml-body.tpl.php sites/all/modules/local_contrib/views_data_export/theme/views-data-export-xml-body.tpl.php views-view-table.tpl.php Template to display a view as a table.
views-data-export-xml-header.tpl.php sites/all/modules/local_contrib/views_data_export/theme/views-data-export-xml-header.tpl.php views-view-table.tpl.php Template to display a view as a table.
views-exposed-form.tpl.php sites/all/modules/ulmus/views/theme/views-exposed-form.tpl.php This template handles the layout of the views exposed filter form.
views-field-calc-table.tpl.php sites/all/modules/local_sandboxes/views_field_calc/views-field-calc-table.tpl.php views-view-table.tpl.php Template to display a view as a table.
views-field-calc-table.tpl.php profiles/cis/modules/sandbox/views_field_calc/views-field-calc-table.tpl.php views-view-table.tpl.php Template to display a view as a table.
views-fluid-grid-plugin-style--courses-overview--page-1.tpl.php profiles/cis/themes/cis-theme/templates/views-fluid-grid-plugin-style--courses-overview--page-1.tpl.php Default view template to display a list of items in a fluid grid.
views-fluid-grid-plugin-style.tpl.php sites/all/modules/local_contrib/views_fluid_grid/theme/views-fluid-grid-plugin-style.tpl.php Default view template to display a list of items in a fluid grid.
views-more.tpl.php sites/all/modules/ulmus/views/theme/views-more.tpl.php Theme the more link.
views-view--cis-faculty--page.tpl.php profiles/cis/themes/cis-theme/templates/views-view--cis-faculty--page.tpl.php Main view template.
views-view--cis-marketing-programs--page.tpl.php profiles/cis/themes/cis-theme/templates/views-view--cis-marketing-programs--page.tpl.php Main view template.
views-view--courses-overview--page-1.tpl.php profiles/cis/themes/cis-theme/templates/views-view--courses-overview--page-1.tpl.php Main view template.
views-view--frontpage.tpl.php sites/all/modules/ulmus/views/tests/templates/views-view--frontpage.tpl.php Main view template.
views-view--nodequeue-5--block.tpl.php profiles/cis/themes/cis-theme/templates/views-view--nodequeue-5--block.tpl.php Main view template.
views-view--nodequeue-7--block.tpl.php profiles/cis/themes/cis-theme/templates/views-view--nodequeue-7--block.tpl.php Main view template.
views-view--themegeeks-rotator.tpl.php sites/all/themes/ulmus/respond/templates/views-view--themegeeks-rotator.tpl.php views-view.tpl.php Main view template
views-view-fields--cis-faculty--page.tpl.php profiles/cis/themes/cis-theme/templates/views-view-fields--cis-faculty--page.tpl.php Default simple view template to all the fields as a row.
views-view-fields--cis-marketing-programs--page.tpl.php profiles/cis/themes/cis-theme/templates/views-view-fields--cis-marketing-programs--page.tpl.php Default simple view template to all the fields as a row.
views-view-fields--courses-overview--block-1.tpl.php profiles/cis/themes/cis-theme/templates/views-view-fields--courses-overview--block-1.tpl.php Default simple view template to all the fields as a row.
views-view-fields--courses-overview--block-3.tpl.php profiles/cis/themes/cis-theme/templates/views-view-fields--courses-overview--block-3.tpl.php Default simple view template to all the fields as a row.
views-view-fields--courses-overview--block-4.tpl.php profiles/cis/themes/cis-theme/templates/views-view-fields--courses-overview--block-4.tpl.php Default simple view template to all the fields as a row.
views-view-fields--courses-overview--page-1.tpl.php profiles/cis/themes/cis-theme/templates/views-view-fields--courses-overview--page-1.tpl.php Default simple view template to all the fields as a row.
views-view-fields--nodequeue-1--block.tpl.php profiles/cis/themes/cis-theme/templates/views-view-fields--nodequeue-1--block.tpl.php Default simple view template to all the fields as a row.
views-view-fields--nodequeue-3--block.tpl.php profiles/cis/themes/cis-theme/templates/views-view-fields--nodequeue-3--block.tpl.php Default simple view template to all the fields as a row.
views-view-fields--nodequeue-5--block.tpl.php profiles/cis/themes/cis-theme/templates/views-view-fields--nodequeue-5--block.tpl.php Default simple view template to all the fields as a row.
views-view-fields--nodequeue-6--block.tpl.php profiles/cis/themes/cis-theme/templates/views-view-fields--nodequeue-6--block.tpl.php Default simple view template to all the fields as a row.
views-view-fields--nodequeue-7--block.tpl.php profiles/cis/themes/cis-theme/templates/views-view-fields--nodequeue-7--block.tpl.php Default simple view template to all the fields as a row.
views-view-fields.tpl.php sites/all/modules/ulmus/views/theme/views-view-fields.tpl.php Default simple view template to all the fields as a row.
views-view-grid.tpl.php sites/all/modules/ulmus/views/theme/views-view-grid.tpl.php Default simple view template to display a rows in a grid.
views-view-list--nodequeue-5--block.tpl.php profiles/cis/themes/cis-theme/templates/views-view-list--nodequeue-5--block.tpl.php Default simple view template to display a list of rows.
views-view-list--nodequeue-7--block.tpl.php profiles/cis/themes/cis-theme/templates/views-view-list--nodequeue-7--block.tpl.php Default simple view template to display a list of rows.
views-view-list.tpl.php sites/all/modules/ulmus/views/theme/views-view-list.tpl.php Default simple view template to display a list of rows.
views-view-row-comment.tpl.php sites/all/modules/ulmus/views/theme/views-view-row-comment.tpl.php Default simple view template to display a single comment.
views-view-row-rss.tpl.php sites/all/modules/ulmus/views/theme/views-view-row-rss.tpl.php Default view template to display a item in an RSS feed.
views-view-rss.tpl.php sites/all/modules/ulmus/views/theme/views-view-rss.tpl.php Default template for feed displays that use the RSS style.
views-view-summary-unformatted.tpl.php sites/all/modules/ulmus/views/theme/views-view-summary-unformatted.tpl.php Default simple view template to display a group of summary lines.
views-view-summary.tpl.php sites/all/modules/ulmus/views/theme/views-view-summary.tpl.php Default simple view template to display a list of summary lines.
views-view-table.tpl.php sites/all/modules/ulmus/views/theme/views-view-table.tpl.php Template to display a view as a table.
views-view-unformatted--cis-faculty--page.tpl.php profiles/cis/themes/cis-theme/templates/views-view-unformatted--cis-faculty--page.tpl.php Default simple view template to display a list of rows.
views-view-unformatted--nodequeue-6--block.tpl.php profiles/cis/themes/cis-theme/templates/views-view-unformatted--nodequeue-6--block.tpl.php Default simple view template to display a list of rows.
views-view-unformatted.tpl.php sites/all/modules/ulmus/views/theme/views-view-unformatted.tpl.php Default simple view template to display a list of rows.
views-view.tpl.php sites/all/modules/ulmus/views/theme/views-view.tpl.php Main view template.

File

sites/all/modules/ulmus/views/theme/theme.inc, line 1110
Preprocessors and helper functions to make theming easier.