It looks like you're new here. If you want to get involved, click one of these buttons!
$this->fuel->pages->render('myView', $vars, array('view_module' => 'myModule', 'layout' => 'main'));I tested the above code but the main layout was not found. That's because fuleCMS is apparently looking for the "main" layout in this directory: "/modules/myModule/views/_layout" which does not exist. How can I tell the "render" method where to find the layout file?
Comments
and make it render one of their views from one of their controllers, using the default header and footer of fuel cms? I really appreciate any help!
In my controller class, I was inheriting from CI_Controller instead of Fuel_base_controller.