For Websites that use multiple themes, it is not possible to have a different loader for each of them. Such functionality is really required when themes have different background colors.

CommentFileSizeAuthor
#1 add-hook-image-alter-1112114-1.patch1.85 KBb-prod

Comments

b-prod’s picture

StatusFileSize
new1.85 KB

The patch below had a hook "hook_hide_submit_image_alter" for modules and initialized theme. It also changes the weight of the module (hook_install) to allow other modules like themekey or sections to deal with themes before hide_submit, because it now calls init_theme() in the hook_init() function.

A new hook_update (6002) changes this settings for already installed module.

b-prod’s picture

Status: Active » Needs review
optalgin’s picture

Status: Needs review » Fixed
b-prod’s picture

Thx

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

c4rl’s picture

This fix breaks #634202: When installed with Administraiton Theme, can cause Blocks admin page to display blocks for Admin theme instead of site theme again.

I will be posting a patch there that eliminates this feature for themes, but preserves it for modules. That should be good enough. Themes invoking hooks isn't a convention in D6 anyway.