O'Reilly logo

Drupal 7 Theming Cookbook by Karthik Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Overriding the Views table style format

In this recipe, we will override the Views template used to render table styles. In particular, we will be overriding the standard table used to display the Tracker View in order to allow the spanning of rows of the same node type.

Getting ready

The Views module comes with a default View named Tracker which provides the same functionality as the Tracker module by providing a table listing nodes that the current user has either created or participated in. This View can be enabled from the Views administration page at admin/structure/views [Home | Administration | Structure | Views]. If it has already been modified, it might be best to revert the view to its default settings prior to continuing.

As we will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required