using layouts in advanced modules, adding a view to the layout
Hi i am struggling to get a view to appear in a layout in an advance module. It seems that i can either view the layout or the view but i cant seem to add the view to the layout file in my advanced module i don't want to use the views or layouts in the application folder. Firstly is this possible. an example below. of seeing a view but not one with a layout added from advanced module as this will not work then.
$vars = array();
$output = $this->load->module_view('doncaster_transit_centre', 'test', $vars, TRUE);
Comments
Second issues is a page model in my advanced module which extends the fuel_page class but cantget this to show up in admin panel under my advanced module I just used the same code for the menu as the page option on fuel but modified where it was coming from and the file it was using
For the second issue, I'll need some code as well. For example, are you uses "pages" as the module name? Also, you may need to add some code in your config file to display the proper navigation as shown in the advanced Blog module:
https://github.com/daylightstudio/FUEL-CMS-Blog-Module/blob/master/config/blog.php