There should be a condition similar to the below the code in your controller file. Replace with your template file in that section as given below:
if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/common/header_top.tpl')) {
$this->template = $this->config->get('config_template') . '/template/common/header_top.tpl';
} else {
$this->template = 'default/template/common/header_top.tpl';
}
Values set as $this->data['sitename'] = 'stackoverflow';
in controller file can be used in template file like echo $sitename
;
Have a nice day !!