Closed (fixed)
Project:
Hide submit button
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2011 at 15:08 UTC
Updated:
5 Dec 2012 at 18:48 UTC
Jump to comment: Most recent file
Comments
Comment #1
b-prod commentedThe 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.
Comment #2
b-prod commentedComment #3
optalgin commentedComment #4
b-prod commentedThx
Comment #6
c4rl commentedThis 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.