It would be super if the div id of a multiblock could be output with a defined name - either the block 'title' or a machine name I can create. That way I can control the naming and use the same style sheets across different site versions.
It looks like at the moment the div id is created by the order of block creation. Is that right?
My problem is the css for the equivalent block on each site is different - this makes it harder to keep track of styles. And will only get more complicated if I add more block instances.
I've set up a new instance of the User login block for my home page. I'm using CSS to add rounded corners.
The output for block on my test site:
<div id="block-multiblock-2" class="block block-multiblock region-odd odd region-count-1 count-3">
The ouput on my production site:
<div id="block-multiblock-1" class="block block-multiblock region-odd odd region-count-1 count-3">
Comments
Comment #1
nancydruThe naming is mostly done by the module ("block-multiblock-2"). While it is customary to use sequentially numbered blocks, that is not a requirement. For example, the Web Links module uses alpha names for the blocks, so for example you get "block-weblinks-related". Now, MB is going to perturb this a bit, and unfortuantely, my PC with my test sites is down for a while. But if it is your module, try playing with using alpha block names and see how it comes out.
Comment #2
intrafusion