I have no need to debug my admin theme, and devel (particularly themer) gets in the way when I'm logged in as admin.

Is there a way to switch it off for admin user? I can get around this by creating other roles for developer/super user/ tester etc, and not log in as admin, but was wondering.

Thanks either way.

Comments

kenneth.venken’s picture

Edit: I thought this was a 7.x issue... So this comment doesn't apply.

There currently isn't any way of disabling theme developer for admin. But we're working on it: #699020: Option to disable devel_themer for user 1.

How does theme developer get in the way? Does it mess up your layout? Could you perhaps test the patch in #1247280: Fixing html breakage once and for all

Orlando Web Developer - Jorge Colon’s picture

Here's a patch that will reduce the page time dramatically when in any admin page. On the modules page, with this page I go down from 25 seconds to 5.5 seconds. That starts to add up when you're switching between the admin and the theme working in different areas.

This was only tested in Drupal 7, but I'm sure Drupal 6 is similar.

-
Orlando Web Developer - Jorge Colon