I am using HMVC (https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/wiki/Home) with CI version 2.1.3. I am stuck on loading views such as a menu, sidebar, or footer into my views for each module. Currently I am using
<?php $this->load->view('menu_view'); ?>
to try and load a view in the /application/views/ folder into the index view located in /application/modules/index/views/index_view.php. Obviously this is throwing an error. I am not sure exactly how to do this. Can anybody help me out with this?
This is my first HMVC project. Currently I made a separate module for each page (index module, about module, contact module, etc.) each with controllers models, and views. Is this the proper way to do this?