CodeIgniter Forums
How to load other module view file in Matchbox/BackendPro - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: How to load other module view file in Matchbox/BackendPro (/thread-36252.html)



How to load other module view file in Matchbox/BackendPro - El Forum - 11-26-2010

[eluser]shinokada[/eluser]
BackendPro uses Matchbox.

I'd like to load a view in other module.

How can I do it?

In modules/views/admin/trainer_home,
I added the following, but it give error.
Code:
$this-load->view(mycentre/views/centremenu);


I tried it in a controller, but it give an error as well.

Thanks in advance.