I have this custom error handler:
`class AppError extends ErrorHandler {
function error404($params) { $this->controller->layout = 'public'; $this->controller->set('title','Droptor Page Not Found'); parent::error404($params); } }`
And I can't seem to use any layout that has this:
$javascript->link('jquery',true)
So the JS helper isn't loaded. But if I include this in the controller: var $helpers = array('javascript'); it still doesn't work. Nor does App::import('Helper', 'javascript');