I’ve been showing off this module privately for a while, but it is now time to broadcast the news. Drupal themeing has taken a major leap forward. Let me be the first to welcome a thousand terrific new designs and designers to our project.
The new module is called Theme developer and it can be downloaded as part of the devel project. We have built Firebug for Drupal Theming. You may now click on any part of the page and a sexy popup display shows which theme function/template outputted the HTML, and what other files could have done so. Armed with this info, a themer may quickly and accurately override the presentation. Further, all the variables passed into the template/function are presented for review.
Feast your eyes on the screencast below of Theme Developer module.
Implementation notesI have not attempted a backport, since it would certainly require significant a patch to the core theme API. Others are welcome to try.
HelpIf you’d like to help with this module, or ask questions, please use the issue queue for devel project - http://drupal.org/project/devel
Credits