When I set up the administration theme module to appear on /admin/build/block - it refuses to appear. It loads the main theme even though it is set to admin/*.

Comments

shane birley’s picture

I also checked http://drupal.org/node/372156 and the permissions are set properly.

davyvdb’s picture

Status: Active » Closed (works as designed)

This is the way Drupal works. Drupal needs the theme you want to manage the blocks for to be the active theme there.

shane birley’s picture

Category: bug » feature
Status: Closed (works as designed) » Active

I am just changing this to ask the question: is it possible to change this? Can this module intercept that and use the administration theme on top of the blocks administration for the main theme? (Did that make sense?)

jhchnc’s picture

This may be "the way Drupal works", but when developing a custom theme which does not have pre-existing support for blocks built in, and when one is new to Drupal, then this creates a road-block. So, technically, that is how Drupal works, too. If you consider this working well, so be it, otherwise, this bug / feature request is valid.

FWIW, I think the easiest thing to do is temporarily swap out a default theme for the them you are developing, then switch it back.

davyvdb’s picture

Status: Active » Closed (works as designed)

I won't be handling this in this module. I think it should be handled in Drupal core. So if you'd like to see this feature, please create an issue in the Drupal core issue queue. It might already exist there (coudn't find it directly). If so, please put a link to the issue here.

Sunshiney’s picture

Shane -- I'm right now building a custom theme and using Garland as my admin theme. It doesn't make any sense at all to have Garland or another theme set as default to be displayed for the blocks page. The important purpose of the block page is to display to you where the blocks are on the custom theme. There's no benefit in knowing where the blocks are in your default theme. I suspect you'll need to ponder this a wee bit more to understand?

jphelan’s picture

Version: 6.x-1.1 » 6.x-1.3

It seems to be overriding now, but that cause an error since that changes the block setting for you admin theme not your default theme. I had to add admin/build/block* to the "Do not use administration theme on the following pages.:" box to be able to correctly change my blocks. I took me for ever to figure out why my blocks weren't changing. I'm running Drupal 6.14 & Admin Theme 1.3.

P.S. Awesome module!

nlambert’s picture

It would be nice if admin_theme could override the drupal core functionality for the admin/build/blocks* pages. There seem to be many of us who do not wish to preview the blocks' positions. Previewing the blocks' positions is a great functionality when you don't know the theme, but I only tend to work on themes of my own. If I had the choice I would use admin_theme for all the admin/build/blocks* pages.

Here is a support request for drupal core concerning the same subject : http://drupal.org/node/374501