Hi I have problem with few new positions module. Positions load modules coretlu but not load styles which are declared in module controller. I saw on the forum that similar problems were in Opencart 2, but no solution was given there. Someone knows something? I don't see this problem on start page.
my website: Tworzenie sklepu internetowego Opencart
OK. I found my own problem. The problem is the order loaded the controllers. Controller header must by loaded as last.
My old code in category controller:
this is corectly code:
My old code in category controller:
Code: Select all
$data['column_left'] = $this->load->controller('common/column_left');
$data['column_right'] = $this->load->controller('common/column_right');
$data['content_top'] = $this->load->controller('common/content_top');
$data['content_bottom'] = $this->load->controller('common/content_bottom');
$data['footer'] = $this->load->controller('common/footer');
$data['header'] = $this->load->controller('common/header');
$data['bottom_left'] = $this->load->controller('common/bottom_left');
$data['bottom_right'] = $this->load->controller('common/bottom_right');
$data['super_bottom'] = $this->load->controller('common/super_bottom');
Code: Select all
$data['column_left'] = $this->load->controller('common/column_left');
$data['column_right'] = $this->load->controller('common/column_right');
$data['content_top'] = $this->load->controller('common/content_top');
$data['content_bottom'] = $this->load->controller('common/content_bottom');
$data['bottom_left'] = $this->load->controller('common/bottom_left');
$data['bottom_right'] = $this->load->controller('common/bottom_right');
$data['super_bottom'] = $this->load->controller('common/super_bottom');
$data['footer'] = $this->load->controller('common/footer');
$data['header'] = $this->load->controller('common/header');
my website: Tworzenie sklepu internetowego Opencart
Who is online
Users browsing this forum: thekrotek and 21 guests