[development] order in which regions are rendered

David Metzler metzlerd at metzlerd.com
Fri Mar 19 01:38:38 UTC 2010


Which isn't always even a number... in some modules anyway....

Dave
On Mar 18, 2010, at 2:40 PM, Lee Rowlands wrote:

> Hi
> The number in the block id comes from the ‘delta’ used to define  
> the block by the module in hook_block, not the order in which they  
> are rendered.
> Lee
>
> >The reason behind this is that I want a certain block that is  
> generated by a certain module to be numbered based on its  
> >appearance inside a page. I'm surprised however, that the block  
> rendered in the body gets a #1 and the one in the >header gets #2  
> although the one in the header was printed before the one in the  
> body and although the header region >was declared before the body  
> region in the theme .info file.
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100318/d38c4342/attachment.html 


More information about the development mailing list