I have installed 2 themes. One is my website theme the other is the maintainance theme for the admin. So when I install and activate the Chat modul I am not able to access my blocks page with my website theme anymore. I just see the maintanance them.

#3 Screenshot 2011-03-10 a 15.20.07.PNG122.14 KBkjv
Members fund testing for the Drupal project. Drupal Association Learn more


darklrd’s picture

This is highly unlikely. Are you sure this is happening due to DrupalChat? Which themes are you using?

darklrd’s picture

Status: Active » Postponed (maintainer needs more info)
kjv’s picture

Version: 6.x-2.x-dev » 6.x-2.0-beta4
122.14 KB

i've got same problem. I'm using Root Candy as Admin Theme, AdaptiveTheme as starter Theme and Pixture Reloaded as subtheme.

As you can see in the image attached the theme should be Pixture Reloaded but Root Candy shows.

And yes, i'm pretty shure this happens because of drupalchat because as soon i disable the module blocks work properly again.

kjv’s picture

Title: DrupalChar change Block Theme » DrupalChat changes Block Theme
Status: Postponed (maintainer needs more info) » Active
Stpfers’s picture

I got the same issue. DrupalChat changes it.

darklrd’s picture

Could someone please post steps to reproduce this issue?

xdemocle’s picture

same problem...

step to reproduce:
1. enable DrupalChat module
2. go in the block administration
3. and nothing else....... the block theme is broken :((((((((((((

catahac’s picture

Version: 6.x-2.0-beta4 » 6.x-2.0-beta8

Found the culprit (at least for me):
File: drupalchat.module
Line: 195
'noUsers' => theme('item_list', array((t('No users online')))),

For some reason the theme() function causes the Blocks admin page to use the administration theme instead of the front-end theme. What I did to avoid this was to replace the above line with:
'noUsers' => '<ul><li>' . t('No users online') . '</li></ul>',
This is a rough fix with the downside that the ul tag will be missing it's proper theming when that message is being displayed.

I kindly ask the developer to find the reason and add a proper fix to the problem, if possible.

Hope I helped! :)

aliyayasir’s picture

Great #8 works!
Thanks a lot

Stpfers’s picture

Thank you so much catahac it works!

Prancz_Adam’s picture

Version: 6.x-2.0-beta8 » 6.x-2.0-beta16
Component: User interface » Code

I have the same issue with tha latest realise too.

Edgar Saumell’s picture

Title: DrupalChat changes Block Theme » Can't change block settings with admin and site theme
Version: 6.x-2.0-beta16 » 6.x-2.x-dev
Priority: Major » Critical

Hi all,

I'm geting the same problem. Tried with 6.x-2.0-beta17 and 6.x-2.0-beta17+2-dev

PS: I just found http://drupal.org/node/288148#comment-939925 that says:

But the behavior you are seeing is probably a bug in one of your modules.

The init_theme() call in this function is supposed to be the first one. This call will change the current theme, so that the block admin page is displayed in the target theme. This way, $theme_key really reflects the target theme (being in fact essentially equal to $theme).

Conclusion: you have a module that incorrectly calls init_theme() before block_admin_display() is called.

But I'm not sure that these aply here...

PS2: #8 works!

darklrd’s picture

Very strange. Thanks for confirming that #8 works.