I’m trying to make a partial output from hmvc module,
|
|
and then I’m trying to load a view from some module,
|
|
This will resulting errors, it turns out $this->obj
is only loading the global view of CI i.e. ./application/views/
HMVC is not overriding the default view of CI, you might have to pass your controller object $this
from your controller to your layout library,
On your module controller :
|
|
On your Layout library :
|
|
Hope this will help for somebody who have some problem like myself