Lack of interest FrontController::run


Well-known member
It would be nice, if we could set INSIDE the controller a param, to define that we don't need the container.

With this, we could return PURE html to the client direct from the controller (just like the json stuff since 1.2)^^

return $this->responseMessage('<html><head><title>foo</title></head>..', array('hideContainer' => true));

ATM i've solved this via the frontControllerPreView event where i have access to the viewRender and call setNeedsContainer, but this would be a nice improvement for the core, which would allow us to return "pure" html without the need to create templates.

Or is this already possible?:)
Last edited: