Blocks and New Themes - A mystery
Steady - August 17, 2009 - 14:50
Hello,
I am quite new to changing themes and the way blocks sometimes get messed up.
Am I missing something?
I have just started playing around with some new theme alterations and I notice that quite often my blocks get messed up or don't appear on the site at all. I have to go back in to the block manager and reposition blocks etc.
This can be more than a bit of a pain if I have many, many blocks or if some blocks only appear on certain pages etc.
So am I missing something here?
Regards,
Sam

Themes can have different
Themes can have different regions, so block positioning is specific to a particular theme. If that's a problem you might want to try http://drupal.org/project/blockregion
Thanks for that Adam. I will
Thanks for that Adam.
I will check it out, but I was hoping I wouldn't have to learn another module. Still if it's straightforward then hopefully it should be ok for Mr Beginner Me.
Question:
If the names of the regions in a theme are the same (some or all of the region's names), will drupal deal with the blocks for a new theme ok?
Thanks,
Sam
=-=
no every theme is treated differently there are no global settings for blocks. Thus even if the regions are exactly the same the blocks would need to be altered "per theme"
Wow!!! Thanks for the quick
Wow!!!
Thanks for the quick reply V.M.
Is this a design fault in drupal, or are there benefits to this?
Also, I guess that this stresses the importance of choosing a theme wisely to start with.
Sam
=-=
I don't view it as a design fault.
Not all themes have the same regions, so what should Theme A do with blocks set in theme B, where theme A does not have those regions?
On the flip side, if you are offering more than one theme on your site, for users to choose from, global block settings mean every block shows in the same exact place which would be restricting.
V.M. You make some very good
V.M.
You make some very good points.
Sincere thanks.
Sam