Hi
I want created multiple tpl for module, how to develop it?
Example
In module "Welcome", I want created multiple tpl (welcome1, welcome2..). Now how to select it in admin and load to home
Thanks?
Really you need to go through the developer documentation here:
http://docs.opencart.com/developer/module/
But I'll give you a hint - towards the end of each controller, the template file is selected like this:
So in this case, this is loading information.tpl from the module folder.
http://docs.opencart.com/developer/module/
But I'll give you a hint - towards the end of each controller, the template file is selected like this:
Code: Select all
$this->response->setOutput($this->load->view('module/information', $data));
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Who is online
Users browsing this forum: No registered users and 5 guests