I have a component that has a view. The problem I'm having is that the view for the component is being rendered before the template, and then the template is overwriting it.
I can put debugging in and see that the component's controller and view are being correctly loaded, but then when I put debugging in the template after that, the html that was part of the component are gone. The template is starting over completely.
The result is that the template is loading empty, without the view that should be in it.
Why is this happening, and how can I get the view to render inside the template?