In Total CMS 2, I have a CMS Core stack that loads in the CMS PHP libs inside the page prefix. CMS Core also has some child stacks that do various things. Some of these stacks can also insert data into the page prefix. However, they all require that the libs be loaded via CMS Core first.
However, the child stack prefix template code is always inserted before the CMS Core stack. Obviously this breaks the page.
I also tried to move the child stacks outside of the CMS Core and place them directly below it. This still outputs the code out of order in the prefix.
In Total CMS 2, I have a CMS Core stack that loads in the CMS PHP libs inside the page prefix. CMS Core also has some child stacks that do various things. Some of these stacks can also insert data into the page prefix. However, they all require that the libs be loaded via CMS Core first.
However, the child stack prefix template code is always inserted before the CMS Core stack. Obviously this breaks the page.
I also tried to move the child stacks outside of the CMS Core and place them directly below it. This still outputs the code out of order in the prefix.
Let me know if you want a copy of these stacks.