[development] order in which regions are rendered

Jørn Fauske jfauske at gmail.com
Thu Mar 18 18:15:07 UTC 2010


On Thu, Mar 18, 2010 at 5:08 PM, Ashraf Amayreh <mistknight at gmail.com>wrote:

> Hello all,
>
> I would like to ask what order regions are rendered and how I may be able
> to control this. In my case, they're not rendering in the order defined in
> the .info file or the order they're printed in page.tpl.php
>
> 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.
>

Have you tried clearing the cache after making changes to the .info file?
Just clearing the theme registry is not enough (If I remember correctly)

--Jørn


>
> Would be glad if someone could shed the light on this issue.
>
> --
> Best Regards,
> Ashraf Amayreh
> CEO | O-Minds
> Cell. 962 78 8099997
> Tel. 962 6 5655150
> Fax. 962 6 5675150
>
> http://www.o-minds.com
> web development | web design
> user experience | branding design
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100318/75fea203/attachment.html 


More information about the development mailing list