Block admin error while using simplevote

nkolman - October 25, 2006 - 13:49
Project:Simple Vote
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

First enable the simplevote module. Then go to Admin/Blocks and try to select a different theme in the upper region.
Problems:
1. Not the selected theme is displayed, but the default one.
2. The name of the regions in the combo boxes are not from the selected theme, but the default theme.

I have located the error: there is a css loading in the hook_menu() which causes the default theme to load prematurely.
I recommend placing the css loading to the hook_block().

 
 

Drupal is a registered trademark of Dries Buytaert.