Welcome Guest, Not a member yet? Register   Sign In
HMVC Unable to load the requested file
#1

[eluser]zend[/eluser]
Hello i have some problem, i use Modular Extensions - HMVC.

Problem is when i try to show my module.

Quote:An Error Was Encountered

Unable to load the requested file: quicklinks_show.php

I have two modules

1.Dashboard
2.Quicklinks

The problem arises when I try to call and show another module in dashboard module.
I put this code in Dashboard/view/dashboard_view.php module

Code:
<div id="modules">
   &lt;?php modules::run('quicklinks/show');?&gt;
</div>

In my Quicklinks modules i have simple Show() function

Code:
public function show(){
     $this->load->view('quicklinks_show');
}


#2

[eluser]vitoco[/eluser]
is the view in one of this 2 locations ?
Code:
/views/quicklinks_show.php
/modules/quicklinks/views/quicklinks_show.php

because that's the paths where it will look according to the parameter that you put in $this->load->view()

Saludos




Theme © iAndrew 2016 - Forum software by © MyBB