Lack of interest FrontController::run

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

xf_phantom

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)^^


e.g.
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:
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Back
Top Bottom