This recipe will outline the features of the Theme developer module. We will use it to demonstrate the steps to be followed to locate the theme function or template being used to display a particular element in a page.
The Theme developer module can be downloaded from http://drupal.org/project/devel_themer. It depends on the Devel module that we looked at in the previous recipe. Both of these modules need to be downloaded, installed, and enabled.
Note
At the time of writing this book, the Theme developer module was still being ported from its Drupal 6 version to a new Drupal 7 equivalent. Consequently, some of the features were not quite ready. As a result, certain screenshots involving incomplete features of this module are based on its Drupal 6 version. While they do not account for a few minor discrepancies and changes, the images serve their purpose and are reasonably representative.