displaying phptemplate hooks as HTML to assist theme design
Hi, I am interested in developing a diagnostic theme or method to display phptemplate hooks called in a CSS hover over that element. So when you hover over the breadcrumb HTML output on your website it displays: phptemplate: theme_breadcrumb() called in a CSS hover. and that way the designer knows if he/she wants to modify the breadcrumb they will have to look at the $breadcrumb variable or override theme_breadcrumb. It's kind of like how devel.module helps write modules, except for themes. So far the only idea I have is to intercept _phptemplate_callback [1] but wondering if anybody has any better methods. Farsheed [1] http://api.drupal.org/api/4.7/function/_phptemplate_callback __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Farsheed wrote:
but wondering if anybody has any better methods. No. But that sounds great, and would be a nice addition to themedev.module.
-- Adrian Simmons (aka adrinux) <http://adrinux.perlucida.com> e-mail <mailto:adrinux@perlucida.com>
participants (2)
-
Adrian Simmons -
Farsheed