function fetch($request) {
$templateMgr = TemplateManager::getManager($request);
//I added this with my DAO and I called the function with all data
$testDao = DAORegistry::getDAO('TestDAO');
$testing = $testDao->getAllTestWithId(); //return array[id][name]
$templateMgr->assign('testing', $testing);
$templateMgr->assign('contextId', $this->contextId);
return parent::fetch($request);
}
Your fetch() function looks ok, so I think it is more likely that it is not being called. Can you put all of your theme code into a public repository, like one at GitHub, where I can take a look at it?