I am using HMVC and on some pages there is a problem with the sequence of displaying blocks. At the beginning of my view I call
<? = modules :: run ('header')?>
Next comes the HTML code of my page. The problem is that the header code can appear anywhere, in the middle or at the end of my view. I can not find the reason for this, although the time for calling each module is correct.