Using xF's built in page system we have created a page, how would one go about removing all the elements from a page, we want to remove all things generated by xF so we can insert the HTML and stuff we have done to create a nice splash page.
Yes everything. I want to essentionally have the equvilant of a blank HTML document but still handled by the xF system, so we can make it in the index.
I don't know if it's possible off hand. At the least, you'd need to write custom PHP code, but there are still some templates that are involved that may not be overridable.
The style approach is probably the easiest option.
Create a template 'mycontainer' with your container content
Create following class:
PHP:
class Page {
public static function getPageOutput(XenForo_ControllerPublic_Abstract $controller, XenForo_ControllerResponse_Abstract &$response){
$response->containerParams['containerTemplate'] = 'mycontainer';
}
}