I'd like to ask you whether is there in Yii any possibility to show HTTP errors (404 generally) in layout content area, not view/system white page with "Page not found" heading or other error. If not, is there any way to access some Controller from errorhandler?
The general guideline is that the error view should remain as simple as possible because it is being executed in an error environment and should not trigger any new errors. Therefore, layout is not supported because the layout may cause errors.
You may use Yii::app()->controller to access the current controller instance, if it is available.
for all the n00bs (me), can you point us to where we can make simple HTML improvements to the default error view? I don’t want to add a complicated layout, just make some simple HTML changes to improve the style with my site logo and more user friendly content that links to the major site functions (eg. Home page, Search page.)