I'm not quite sure if this is a problem with Taxonomy Theme, but I think it is ...

I've set up my site with Drupal 4.7RC3, and have installed the Taxonomy Themes module. I'm basically setting up the site as a blog, but with a Music section that lives under 'taxonomy_menu/4*'.

I'm using the Meta-Theme theme, which is based (i think) mainly on CSS, as it has a bunch of CSS variations (meta-grey, meta-pink, meta-black, etc). What i'm doing is: using Taxonomy Theme, I set everthing under (and including) 'taxonomy_menu/4*' to use the meta-black theme, and everything else to use meta-grey. That is all well and good, and works fine, but other than using different themes for the two sections i want in my site, i also want the two sections to have different block setups. So, i go into the block administration and set the blocks that i don't want to show up under 'taxonomy_menu/4*' to not show up there, and the ones that i do want to show up, i set to show up only under 'taxonomy_menu/4*'.

The thing is that these block rules are obeyed if i don't have Taxonomy Theme enabled, but not if I do (I mean - they're obeyed everywhere except under 'taxonomy_menu/4*'). Not only that, but when Taxonomy Theme is enabled, not only are block rules not obeyed under 'taxonomy_menu/4*', but some blocks that aren't even enabled in the blocks configuration show up (eg - "Browse Archives" block - even though it wasn't enabled, I had to specifically set it not to show up under 'taxonomy_menu/4*' ... a rule which is obeyed with Taxonomy Theme enabled!?)! A self-created block (to display last.fm feed) that i want to show up under 'taxonomy_menu/4*' just won't (unless i disable Taxonomy Theme).

How can I find out where the problem lies? I briefly put it past the developers of this module, but it didn't seem to ring any bells with them ... could this be an issue with my Theme, or with the blocks module itself?

Hope I explained this well.

Comments

profix898’s picture

"but it didn't seem to ring any bells with them ..."
Yes, it did! But I need some time to figure it out! ;) I agree there is an issue with blocks. As far as I see, this changed with RC and worked before. On my install it also doesnt work with taxonomy_theme disabled properly! I cant configure blocks per theme at all. Generally (try pre-RC) the theme switched when you clicked on a theme in admin/blocks, you could then configure the blocks for that theme and you got a 'live' preview of the blocks setup. But now when clicking a theme nothing changes and block setup is the same for all themes. I will try a fresh install, but generally I think taxonomy_theme doesnt change anything when disabled and therefore shouldnt prevent this from working.
I will also try you special config (meta-theme and the vocab-4 stuff). How do you switch your theme? Using Vocab-based method?

mrmachine’s picture

"but it didn't seem to ring any bells with them ..."
Yes, it did! But I need some time to figure it out! ;)

Ooops - I see now it wasn't a good idea to cut/paste a forum query into a bug report, lol. Sorry, just goes to show the danger in all-nighters and too much coffee and impatience on my part ;)

I will also try you special config (meta-theme and the vocab-4 stuff). How do you switch your theme? Using Vocab-based method?

Yep, Vocab method.

I will try a fresh install, but generally I think taxonomy_theme doesnt change anything when disabled and therefore shouldnt prevent this from working.

Hmm, so in that case it would probably have to be an issue with Meta-Theme or Blocks module?

profix898’s picture

Hmm, strange! I just did a fresh install of 4.7RC3! Everything worked fine regarding blocks configuration! I then installed taxonomy_theme and was still able to configure blocks :) Now I reinstalled all my previous installed module and ... guess ... right, blocks stoped working! To find the module preventing me from configuring blocks, I disabled all contrib modules one by one. It seems on my install gallery2 module causes this issue! With only the basic core modules and gallery2 installed I cant configure blocks anymore (regardless of taxonomy_theme being enabled/disabled). This behavious is reproduceble. Whenever I enable gallery2 module blocks stop working correctly!
Do you have gallery2 installed? If so please try to verify my result.

profix898’s picture

I posted an issue for the gallery module. Look at http://drupal.org/node/59789
Its possible that other modules use a similar call to theme(...).

mrmachine’s picture

Status: Active » Fixed

I cant configure blocks per theme at all. Generally (try pre-RC) the theme switched when you clicked on a theme in admin/blocks, you could then configure the blocks for that theme and you got a 'live' preview of the blocks setup. But now when clicking a theme nothing changes and block setup is the same for all themes.

I am so stupid!!! This morning I woke up and read back over this comment, then visited your report at http://drupal.org/node/59789 ... I've never noticed the themes tab in the block modules settings!!! Sure enough, there they were, and when i configured the blocks for the theme that wasn't behaving before (via the 'live preview' you mention), it works! I'm so sorry - but I'm sure that feature wasn't there before?! I updated to Drupal CVS before noticing it, so maybe it was broken before? I've spent the best part of 3 days on the Block Settings page ... I must be going blind!

Anyway, the issue - for me - has been resolved, and everything is working as it should be ...

Anonymous’s picture

Status: Fixed » Closed (fixed)