[eluser]molistok[/eluser]
I am adding modules in my web, and I don't understand somethinks, for example:
First situation:
I have a module with name profile, and inside of this module one controller with the same name. In views folder all the views of profile. Therefore: modules/profile/controllers/profile.php
modules/profile/views/view_example.php // all views of profile
If I have this distribution when I want call one view I have to do this:
$this->load->view('view_example');
Second situation:
I have a module with name profile, and inside of this module one controller with the same name. In the views folder, folder profile. Therefore: modules/profile/controllers/profile.php
modules/profile/views/profile/view_example.php // all views of profile
If I have this distribution when I want call one view I have to do this:
$this->load->view('profile/profile/view_example');
I don't understand because I can't call the view with this path:
$this->load->view(profile/view_example');
or
$this->load->view(view_example'); (when we call the view inside of controller profile)
Can any help me please?
Thanks.