$this->load->library('modules'); //or in autoload.php
This you put in your controller constructor or in config/autoload.php
$this->modules->load('product_list');
<?php echo $this->product_list->render($catcode); ?>
I think you can put the $this->modules->load(‘product_list’) into your view, but instead of using a render() method in your module, you must use its constructor. I don’t want to load the modules from my controllers too. When I load a view, it is up to the view to load the modules it may have.
@wiredesignz: Thank you!