Closed (fixed)
Project:
Install Profile API (obsolete)
Version:
6.x-2.0
Component:
CRUD functions and includes
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Mar 2009 at 02:17 UTC
Updated:
20 Apr 2009 at 17:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
damienmckennaThe attached patch adds a function called install_init_blocks() which is simply a wrapper around _block_rehash().
Comment #2
James Andres commentedI wrote something similar once before. I found that calling _block_rehash() during installation caused the blocks to be setup under the minelli theme. This way annoying because I wanted to to use the theme I had enabled and set as default.
I used this trickery to get around the situation.
Useful?
Comment #3
damienmckennaThat could be useful. I also submitted #399212: install_default_theme() should set the $theme_key global, which is related.
Comment #4
James Andres commentedDamn, I just got burnt by this problem again.
DamienMcKenna, your original patch is the simplest solution along with the suggestion to update install_default_theme().
+1 for this, works well for me.
Comment #5
James Andres commentedCommitted.