Closed (fixed)
Project:
Block Page Visibility
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Feb 2010 at 15:19 UTC
Updated:
4 Mar 2010 at 15:40 UTC
I have been using this module on a client site and their needs have changed so I was going to turn it off. There appears to be no way to do so. The module has replaced all the block text with functions that will not work if the module is disabled and there are no disable or uninstall hooks, nor any automatic way to put the normal visibility code back into the blocks. The only way I can see to turn this off is to write some custom code to replace all the blocks with normal visibility rules and try to disable it thru code at just the right moment so the right visibility rules are invoked without any fatal errors. But I am not even sure if I can get that to work.
Ideas are welcome.
Comments
Comment #1
karens commentedAh, I take it back, there is a hook_disable(). It would be nice if it repopulated the visibility settings instead of wiping them out, but it is something.