Closed (duplicate)
Project:
Drupal core
Version:
6.3
Component:
block.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2009 at 08:27 UTC
Updated:
15 Jan 2014 at 09:40 UTC
Jump to comment: Most recent
In the block_admin_display() function inside block.admin.inc, there is the following lines.
$custom_theme = isset($theme) ? $theme : variable_get('theme_default', 'garland');
The problem with this system is it basis overwriting $custom_theme based on the status of $theme, this makes it impossible to theme the blocks page in anyway.
If it was simply changed to
if (!isset($custom_theme)) {
$custom_theme = isset($theme) ? $theme : variable_get('theme_default', 'garland');
}
Then if there was a custom them applied by a module, it would not overwrite that theme. If no custom theme applied it would operate like normal.
Comments
Comment #1
igor.ro commentedDuplicate https://drupal.org/node/581322