My boostrap is not in the class but in a file (boostrap.php) like this:
$title = $config->title;
Zend_Registry::set('title',$title);
$varrr = Zend_Registry::get('title');
Zend_Layout::startMvc(array('layoutPath'=>'../application/layouts'));
$view = Zend_Layout::getMvcInstance()->getView();
$view->headTitle($title);
$view->addHelperPath('ZendX/JQuery/View/Helper', 'ZendX_JQuery_View_Helper');
$view->addHelperPath('Forms/View/Helper', 'Forms_View_Helper');
$viewRenderer = new Zend_Controller_Action_Helper_ViewRenderer();
$viewRenderer->setView($view);
Zend_Controller_Action_HelperBroker::addHelper($viewRenderer);
$front->dispatch();
What is wrong here that it cant get the title?