Closed (fixed)
Project:
jQuery Lightbox
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Sep 2007 at 03:50 UTC
Updated:
13 Oct 2007 at 00:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
sunIn front of trying to reproduce this: If I understand you correctly, you have a separate administration theme and more than one theme enabled for your site. What is broken, if you then go to admin/build/block ?
Comment #2
sunComment #3
snelson commentedYes I have a site theme and a separate theme for admin. Typically, when you go to the admin/build/blocks page, Drupal switches to the theme you are currently editing blocks for. But, with your module enabled, the theme is not switching, its just staying on the admin theme, not allowing you to edit blocks for any other theme but admin.
Comment #4
snelson commentedWhere's my manners? I meant to thank you for a great module. Tried a couple other things and this was the best. Good work!
Comment #5
alexis commentedHey, even if I'm not using this module I can confirm that calling path_to_theme() from a module breaks block admin page. The problem seems to be the init_theme(), inside path_to_theme(), is resetting some theme related parameters.
Comment #6
sunThanks guys, especially @alexis for this hint.
Committed attached patch which does not load a theme-specific stylesheet if a page starting with admin/build/block is displayed.
Comment #7
(not verified) commented